UBC-DSCI / introduction-to-datascience-python

Open Source Textbook for DSCI100: Introduction to Data Science in Python
https://python.datasciencebook.ca
Other
10 stars 8 forks source link

reading chapter, add discussion of `on_bad_lines="skip"` #345

Open lheagy opened 6 months ago

lheagy commented 6 months ago

In the tutorial for classification 1, we have students use the pd.read_csv function with the keyword argument on_bad_lines="skip" to have students read in the file: https://archive.ics.uci.edu/ml/machine-learning-databases/00236/seeds_dataset.txt

Currently, we don't discuss this anywhere in the textbook. It would be good to add a short mention in the reading chapter