The Python Bootcamp provides an overview of the fundamental concepts necessary to work within the Python programming language. Through a series of annotated, hands-on lessons, students will learn to understand the basic principles of the Python language including:
- installing Python and working with Jupyter
- understanding Python objects and data types
- working with base Python structures (e.g., lists, dictionaries)
- importing packages and additional data structures (e.g., NumPy arrays; pandas DataFrames)
- utilizing control flow statements
- reading and writing data
- manipulating data
- plotting (e.g., Matplotlib, seaborn, Plotly)
- developing functions
No prior programming experience is necessary to benefit from this course.
Note: For the R version of this course, visit the r-bootcamp.
- Installing Python
- Running Python
- Installing Jupyter
- Google Colaboratory and Deepnote
- Working with Jupyter Notebooks
- The Basics
- Side Notes
- Arithmetic Operators
- Syntax Considerations
- Multiple Operations
- Errors and Warnings
- Functions
- Importing Functions
- Installing Packages
- Updating Packages
- More on Importing: as and from
- Data Types
- Numeric
- Boolean
- Comparison Operators
- Boolean Operators
- Text Sequence
- Explicit Type Conversion
- Date and Time Types
- Variables
- Variable Naming
- Augmented Assignment
- Multiple Assignment
- Deleting Variables
- Data Structures
- Lists
- Accessing List Elements
- Slicing
- In and Not In
- Updating List Elements
- Adding List Elements
- Deleting List Elements
- Joining Lists
- Other List Methods
- dir
- Ranges
- Tuples
- Accessing Tuple Elements
- Updating, Adding, and Deleting Tuple Elements
- Joining Tuples
- Other Tuple Methods
- zip
- Sets
- Accessing Set Elements
- Updating Set Elements
- Adding Set Elements
- Deleting Set Elements
- Joining Sets
- Other Set Methods
- Dictionaries
- Lists
- References vs. Copies
- Comparison Operators: Identity
- Importable Data Structures
- NumPy Arrays
- Accessing Array Elements
- Updating Array Elements
- Adding Array Elements
- Deleting Array Elements
- Joining Arrays
- Other Array Methods
- Multidimensional Arrays
- pandas DataFrames
- Reading and Viewing Data
- Accessing DataFrame Elements
- Bitwise Operators and Querying
- Updating DataFrame Elements
- Adding DataFrame Elements
- Deleting DataFrame Elements
- Renaming Indexes
- Joining DataFrames
- Grouping and Aggregate Functions
- Writing Data
- Other DataFrame Methods
- pandas Series
- NumPy Arrays
- Control Flow
- if
- elif, else
- pass
- Nesting
- Input
- for
- break
- continue
- enumerated
- List Comprehension
- while
- break and continue
- if
- Defining Functions
- lambda and map
- Plotting Overview
- Getting Started
- Point Plots
- seaborn
- pandas
- Line Plots
- Importing R Data Sets
- Bar Plots
- Density Plots and Histograms
- Box Plots
- Sizing and Styling seaborn Plots
- Saving Plots
- Interactive Visualizations
- Environments
- BLAS
- Add more on pandas, dict
- extend discussion of dicts (and JSON), including Python 3.9 features such as dict union
- Jupyter Lab spellchecker plugin
- mention unofficial Windows binaries in Unit 1