Python Reading
- Read and implement the material from Chapters 1 and 2 in the pandas Cookbook.
Lecture Activity
- The real world is messy. Along with data wrangling to handle missing or bad data, it is common to see errors pop up due to:
- program versions chaning over time
- code being broken when it is modified (especially via a side effect)
- workflows change. people change, and popular tools come and go
- as code becomes more complex, bugs can pop up in unexpected ways. Developers know this and are constantly testing and documenting code.
- Notice that the pandas Cookbook material is hosted on GitHub.com
- Also note that the Chapters are Jupyter Notebooks
- Both these tools are made for the purpose of SHARING code
- Try to download the FDIC Failed Bank List from data.gov -- caveat! Sometimes files can move over time. Alternatively, you can download it from the course website here.
- Understand fdic.py completely. It may have been written a while ago -- and it's possible that some of the Pandas methods have changed. Can you fix it?
- Identify something useful to do with the data and figure out how to do it.
- Try prompting an LLM to suggest something. Can you follow it? Does it give you ideas? Or make you stop having ideas?
Active Learning
- Try out these tools:
- Download and install Git for your computer
- Download and install VSCode for your computer
- Clone the cookbook from GitHub
- Read and implement the material from Chapters 3 and 4 in the pandas Cookbook.