It's UWAweek 47

helpOSTS

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 445 articles.
Currently 56 other people reading this forum.


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍x1
helpful
9:23am Fri 10th May, Michael W.

Hi I'll respond to each part after the question; ANONYMOUS wrote:
> Hi Professor Could you please explain below statements: > > > 1. Also based on the header line, report any lines that do not have the same number of cells. (Cells are allowed be empty.) > > Should we ignore this rows or to print a message?
In effect, both. You ignore the row, in the sense of not printing it to stdout, but you also print an error message (to stderr).
> > > 2. cantril_data_cleaning expects three .tsv files corresponding to the three files from Our World in Data. The input files may be in any order. The output is expected to be a tab-separated data directed, as before, to standard output. > > The input files may be in any order so that means only the three given files namely: gdp-vs-happiness.tsv,homicide-rate-unodc.tsv,life-satisfaction-vs-life-expectancy.tsv can be passed in any order and if any other files with different files names(atleast 1) passed should exit with an error message(am i correct?)
That is correct. HINT: Ignore the name of the file. Instead, look at the header (ie top) line. Cheers MichaelW

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy