Python for Data · Unit 5

Unit 5: Getting Data In

Load CSV and JSON files into pandas and check what arrived.

  • 2–3 hrs
  • Intermediate
  • 6 lessons

Lessons

  1. CSV Options That MatterSeparators, headers and the arguments you reach for on a real file. 20–25 min
  2. Missing Markers on LoadFiles write missing values in a dozen ways; na_values names yours. 20–25 min
  3. Selecting What You NeedRead the columns you want, and stop carrying the ones you do not. 20–25 min
  4. Reading JSON DataA list of records is a table waiting to happen. 20–25 min
  5. Writing Data OutSaving a result, and the index that gets written with it. 20–25 min
  6. Checking What You LoadedFour questions to ask a new table before you trust a number from it. 20–25 min
  7. End of unit test

    Ten multiple choice questions and one free response problem. You need 70 to finish the unit. Retakes are unlimited and your best score is the one that counts.

    Take the Unit 5 test