Move from Excel to Python with Pandas Transcripts
Chapter: Course conclusion and review
Lecture: File structure for Jupyter

Login or purchase this course to watch this video and the rest of the course contents.
0:00 in the next section of the course, we talked about how important it was to have an organized file system.
0:07 Once you start to build out your Jupiter notebooks, I recommend a structure with a base directory and then subdirectories underneath it that it include
0:16 all of your notebook files, keeping those separate from your Excel or CSP or input
0:21 files. Keeping all of your input files in a raw directory underneath data where they can remain untouched so that you can repeat your analysis.
0:31 And then, as you create intermediate files, you can store those in a process directory.
0:35 And then, finally, the Reports directory is where you store your final output.
0:40 We also walk through how to use cookie cutter to make it easier to set this all up so that you wouldn't have to do it by hand.
0:47 After talking about the directory structure, we walk through how to launch your Jupiter notebook,
0:53 and there were a couple of things we discussed about structuring your Jupiter notebooks.
0:56 Make sure that you have a good notebook name at the top so you don't end up with a whole bunch of entitled files.
1:03 Use the markdown text fields to give yourself information so that you can understand the rationale
1:10 for your analysis and understand where the files came from. Then you contract your changes over time as well.
1:17 I encourage you to keep all of your imports at the top of the notebook and then define your input and output files in the beginning as well.
1:24 Finally, when you're all done,


Talk Python's Mastodon Michael Kennedy's Mastodon