This repo is the landing page for the Next Steps in Python workshops offered by Research Computing and Data Services.
Click on the workshops below to navigate to the linked GitHub repository.
Fall 2023
October 11: Managing file paths with pathlib
Materials to work on your own computer
Link to work on the cloud
Link to recording
October 18: Opening files from URLs
Materials to work on your own computer
Link to work on the cloud
Link to recording
October 25: Level up your Pandas with df.query
and df.eval
Materials to work on your own computer
Link to work on the cloud
Link to recording
November 1: Saving and using your custom functions
Materials to work on your own computer
Link to work on the cloud
Link to recording
November 8: Intro to creating your own object classes
Materials to work on your own computer
Link to work on the cloud
Link to recording
November 15: List comprehensions
Materials to work on your own computer
Link to work on the cloud
Winter 2024
January 10: Colormaps
Workshop materials
Link to recording
January 17: NetworkX
Workshop Materials
Link to recording
January 31: Intro to Plotly
Workshop matierals and installation instructions
Link to recording
February 7: Intro to Shiny
Workshop matierals and installation instructions
Link to recording
February 14: Intro to Quarto
Workshop materials and installation instructions
Link to recording
February 28: Mesa for Agent Based Modeling
Workshop materials
Link to recording
March 6: Intro to Polars for large scale data analysis
Workshop materials
Link to recording
Spring 2024
April 10: Bayesian Inference in STAN
Workshop materials
Link to recording
April 17: Creating Interactive Figures with Python + Bokeh
Workshop materials
Please note: For this workshop, it will be best to work on your local computer, instead of Google Colab. Please follow the installation instructions from the workshop materials (linked above).
Link to recording
April 24: Statistics in Python: Statsmodels
Workshop materials
Link to recording
May 1: Efficient looping with Itertools
Workshop materials
Link to recording
May 8: Intro to web scraping with Selenium
Workshop materials
Link to recording
May 15: Computing distance (or similarity) for different data types
Workshop materials
Link to recording
May 22: Parsing text with NLTK
Workshop materials
Link to recording
Fall 2024
September 30: NumPy 2.0.0 Is Here. What Does That Mean?
Workshop materials
Link to recording
November 4: Virtual Environments
Workshop materials
Link to recording
There are two ways to access the materials:
- On your own computer: Click on the green Code button above and choose Download ZIP. On your computer, open either Jupyter Lab or Jupyter Notebook. Navigate to the folder you downloaded and open up the notebook of choice.
- Online: Go to http://colab.research.google.com/. Choose GitHub from the orange menu. Search for NUITRCS/NextStepsInPython and select your notebook of choice.
Please sign in to your Northwestern Zoom account in order to view the recordings. These are password-protected and only registered participants of the workshop will have access. Recordings are only available for 30 days from the listed date.
These notebooks will teach you to write more efficient code.
- List comprehensions and dictionary comprehensions
- Combining strings and variables with fstrings
- Saving and loading Python objects with pickle and json
These notebooks cover topics that you will encounter in other people's code.
- Recognizing and indexing NumPy arrays
- Lambda functions and when to use them
- How to use functions with *args and **kwargs
If you frequently work with text strings or Pandas DataFrames: