"Eusha Khan" <24*4*9*
9@s*u*e*t*u*a*e*u*a*> wrote:
> Hello Mr. Wise,
>
> In the data cleaning portion, one of the tasks mentions: "Also based on the header line, report any lines that do not have the same number of cells. (Cells are allowed be empty.)"
>
> So do we just print them, or throw them to stderr, or delete them?
>
> Thanks!
Hi Eusha,
The error message about the incorrect row goes to stderr. Then you move on to the the next input line, which has the effect of deleting the from the output. That is, the line won't be there so it appears to have been deleted. (Of course, the input file remains unchanged.)
Cheers
MichaelW
👨🎨