Intro to Python training developed for, and delivered to, Cincinnati Insurance
- Build familiarity with the Python language, so that students can solve simple problems with code.
- Gain experience with data wrangling tasks: importing/exporting, filtering & selecting, aggregating, and joining data.
- Establish a mental model of the Python data science ecosystem to enable learning beyond this course.
Day | Topic | Time |
---|---|---|
Day 1 | Introductions | 1:00 - 1:15 |
Python, VSCode, & Notebooks | 1:15 - 1:45 | |
Variables, Operators, & Types | 1:45 - 2:45 | |
Break | 2:45 - 3:00 | |
Data Structures | 3:00 - 3:30 | |
Conditional Statements | 3:30 - 4:00 | |
Q&A | 4:00 - 4:30 | |
Day 2 | Q&A | 12:30 - 1:00 |
Iteration | 1:00 - 1:45 | |
Writing Functions | 1:45 - 2:30 | |
Break | 2:30 - 2:45 | |
Case Study, pt. 1 | 2:45 - 4:00 | |
Case Study Review; Q&A | 4:00 - 4:30 | |
Day 3 | Q&A | 12:30 - 1:00 |
Packages, Libraries, & Modules | 1:00 - 2:00 | |
Importing Data | 2:00 - 2:30 | |
Break | 2:30 - 2:45 | |
Intro to Pandas | 2:45 - 4:00 | |
Q&A | 4:00 - 4:30 | |
Day 4 | Q&A | 12:30 - 1:00 |
Advanced Pandas | 1:00 - 1:45 | |
Python from the Shell | 1:45 - 2:30 | |
Case Study, pt. 2 | 2:30 - 3:45 | |
Case Study Review; Concluding Remarks | 3:45 - 4:30 |
- Brad Boehmke -- @bradleyboehmke
- Ethan Swan -- @eswan18
- Jay Cunningham -- @cunningjames
- Gus Powers -- @augustopher
We write our code with VSCode in this course, which you can download from the Visual Studio website.
While it's possible to install and use Python in many different ways, we prefer the Anaconda distribution for setting up data science environments. You can download it from the Anaconda website. The "Graphical Installer" is easiest to use.
Once you have Anaconda downloaded, you should set up a new environment using the environment.yml
file present in this repository.
Anaconda ships with a program called Anaconda Navigator, which allows you to do this.
Open it (you can lauch it however you typically start applications), click on the "Environments" tab in the leftmost pane, and click Import at the bottom of the second pane.
In the dialog that follows, opt to use a file from your "Local drive" and then navigate to select the environment.yml
file in this project folder.
If you have trouble getting set up, we can help you out in class.