| title | Setup |
|---|
Python is a popular language for scientific computing, and great for general-purpose programming as well. For this workshop we use Python version 3.x. Installing all of its scientific packages individually can be a bit difficult, so we provide an environment file to help you take care of them all together. We will use the Miniforge distribution of Python.
Please refer to the Python section of the workshop website for installation instructions.
We will teach Python using JupyterLab, a part of a family of Jupyter tools that includes Jupyter Notebook and JupyterLab, both of which provide interactive web environments where you can write and run Python code. If you followed the instructions linked above, JupyterLab is installed on your system. Alternatively, you can install JupyterLab on its own using conda, pip, or other popular package managers.
- Download this zip file and save it to your Desktop.
- Unzip the
data.zipfile, which should create a new folder calleddata. - Create a new folder on your Desktop called
lc-pythonand put thedatafolder in this folder.
This lesson uses circulation data in multiple CSV files from the Chicago Public Library system. The data was compiled from records shared by the Chicago Public Library in the data.gov catalog. Please do not download the circulation data from data.gov since the dataset you downloaded following the steps above has been altered for our purposes.