Opening a file

In this subsection, you will perform the following:

  1. Create and organize a project folder for data wrangling.
  2. Place your data in the project folder.
  3. Write a program to open and close a data file.

In later sections, you will build on this program to read and process the data. The following steps will guide you through the process of setting up your file system and opening the data file.

  1. Open Atom. If you have another text editor that you prefer, you may use that one. Create a project folder called ch3 and add the project folder to the file tree. Inside the ch3 folder, create a file called process_data.py. Additionally, inside the ch3 folder, add an additional folder called data:
  1. If you haven't already, download the scf_data.json ...

Get Practical Data Wrangling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.