Tutor-Created Resources
This page is a collection of resources created by current and former DSC 10 tutors. Feel free to use these materials for additional explanations and extra practice with tricky concepts.
As a disclaimer, these materials are provided to help you study, but they are not to be taken as the authority. They may contain errors. Always refer to the course’s official materials (lecture slides, textbook, etc.) for the most accurate information. Feel free to ask questions about these materials if you think something is incorrect.
Table of contents
- Keyboard Shortcuts, Error Messages, and Basic Python
- Strings, Series, and Arrays
- DataFrames
- Functions
- For-Loops
- Probability
- Statistics
Keyboard Shortcuts, Error Messages, and Basic Python
Jupyter Notebook Keyboard Shortcuts
by Pranav Rajaram
(source)
Basic Coding Tips and Error Messages
by Kathleen Nguyen
(source)
</center>
Common Errors and Keyboard Shortcuts in Jupyter Notebooks
by Aaron Rasin, Bill Wang, Leena Kang
Variable Names
by Raine Hoang
(source)
Strings, Series, and Arrays
String Methods
by Keenan Serrano, Norah Kerendian, Ylesia Wu
(source)
Series String Methods
by Keenan Serrano, Norah Kerendian, Ylesia Wu
(source)
.str.contains()
and Other String Methods
by Michelle Hong
(source)
String, Series, and Array Methods
by Sophie Wang
(source)
Accessing Array Elements and Out of Bounds Errors
by Raine Hoang
(source)
DataFrames
DataFrame Review
by Nathaniel Del Rosario, Ashley Ho, Chaninder Rishi
.get()
by Raine Hoang
(source)
Query Examples
by Keenan Serrano, Norah Kerendian, Ylesia Wu
(source)
.groupby()
by Kate Feng
(source)
When to Use .groupby()
by Zoe Ludena
(source)
Aggregation Methods for .groupby()
by Raine Hoang
(source)
Number of Rows After a Merge
by Jason Huynh
(source)
Merge
by Ester Tsai
(source)
Data Structures (Lists, Arrays, DataFrames, and Series)
by Minchan Kim
(source)
Functions
Return Outside Function Error
by Raine Hoang
(source)
Print vs. Return
by Raine Hoang
(source)
Functions and .apply()
by Abel Seyoum
(source)
For-Loops
For-Loops
by Abel Seyoum
(source)
For-Loops and the Accumlator Pattern
by Raine Hoang
(source)
Probability
Probability Reference Sheet
by Suhani Sharma
(source)
Probability Review
by Athulith Paraselli
(source)
Statistics
Which Statistical Method to Use
by Claire Wang
(source)
All About TVD
by Calvin Nguyen
(source)
What are p-values?
by Daniel Budidharma
(source)
How to Choose Test Statistics for Hypothesis Testing
by Cici Xu
(source)