Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: count row length in csv files

  • Write a script called csv_column_count.py that given a CSV file will tell if all the rows have the same length or if some of them are different.
  • Show which ones are different.
  • Try it on examples/csv/plain.csv and on examples/csv/uneven.csv