### Please enable JavaScript to use CodeHS

Data Science with Python

#### Points

Activity Points Item Type
The Data Science Life Cycle
1.1 What is Data Science? Lesson
1.1.1 What is Data Science? 1 Video
1.1.2 What is Data Science? 3 Check for Understanding
1.1.3 What Does a Data Scientist Do? 1 Connection
1.1.4 What Does a Data Scientist Do? 5 Free Response
1.1.5 Statistical Questions 5 Free Response
1.1.6 Lookup, Compute, Relate 5 Free Response
1.1.7 Exploring Data I 1 Connection
1.1.8 Exploring Data II 5 Free Response
1.1.9 Exploring Data III 1 Connection
1.1.10 Exploring Data IV 5 Free Response
1.1.11 My Interests and Goals 5 Free Response
1.2 Gathering Data Lesson
1.2.1 Gathering Data 1 Video
1.2.2 Gathering Data 3 Check for Understanding
1.2.3 Quantitative/Qualitative 5 Free Response
1.2.4 Live Code - Gathering Data 1 Video
1.2.5 Data Sort 5 Exercise
1.2.6 Pros and Cons 5 Free Response
1.2.7 Mini-Project: The Data Science Life Cycle 5 Free Response
1.2.8 Mini-Project: BTS 1 Example
1.2.9 Mini-Project: Collect the Data 5 Free Response
1.2.10 Mini-Project: Structure the Data 5 Challenge
1.2.11 Mini-Project: Plan for Analysis 5 Free Response
1.3 Exploring Data Using Python Lesson
1.3.1 Exploring Data Using Python 1 Video
1.3.2 Exploring Data Using Python 5 Check for Understanding
1.3.3 Live Code - Lists 1 Video
1.3.4 Using Lists 1 Example
1.3.5 Practice with Lists 5 Exercise
1.3.6 Mini-Project: Lists 5 Exercise
1.3.7 Practice with Operators 5 Exercise
1.3.8 Finding the Average 5 Exercise
1.3.9 Mini-Project: How Can We Use This? 5 Free Response
1.4 Modules, Packages & Libraries Lesson
1.4.1 Modules, Packages and Libraries 1 Video
1.4.2 Modules, Packages, and Libraries 3 Check for Understanding
1.4.3 Live Code - Libraries 1 Video
1.4.4 Random 1 Example
1.4.5 Math and Statistics 1 Example
1.4.6 Emoji 1 Example
1.4.7 Wikipedia 5 Exercise
1.4.8 Documentation Hunt 1 Connection
1.4.9 Documentation Hunt 5 Free Response
1.5 Series and Central Tendency Lesson
1.5.1 Series and Central Tendency 1 Video
1.5.2 Series and Central Tendency 3 Check for Understanding
1.5.3 Changing Indices 1 Example
1.5.4 Series and Indices 1 Example
1.5.5 Hot Dog Series 5 Exercise
1.5.6 People Named Anna 1 Example
1.5.7 Hot Dog Statistics 5 Exercise
1.5.8 Critiquing Conclusions 5 Free Response
1.6.1 Measures of Spread 1 Video
1.6.2 Measures of Spread 3 Check for Understanding
1.6.3 CodeHS Graphics 1 Notes
1.6.4 Measures of Spread 1 Example
1.6.5 Hot Dog Spread 5 Exercise
1.6.6 Plotting Data 1 Example
1.6.7 Hot Dog Plots 5 Exercise
1.6.8 Hot Dog Conclusion 5 Free Response
1.7 Pandas DataFrames Lesson
1.7.1 Pandas DataFrames 1 Video
1.7.2 Pandas DataFrames 3 Check for Understanding
1.7.3 Live Code - DataFrames 1 Video
1.7.4 Create a DataFrame 1 Example
1.7.5 Student Test Data 5 Exercise
1.7.6 Mammals DataFrame Info 1 Example
1.7.7 Test Data Info 5 Exercise
1.7.8 Test Data Selection 5 Exercise
1.8 Selecting Columns Lesson
1.8.1 Selecting Columns 1 Video
1.8.2 Selecting Columns 3 Check for Understanding
1.8.3 Live Code - Selecting Columns 1 Video
1.8.4 Selecting Columns 1 Example
1.8.5 Modifying the Index 1 Example
1.8.6 Test Data Stats 5 Exercise
1.8.7 Specific Test Data 5 Exercise
1.9 Using Functions Lesson
1.9.1 Using Functions 1 Video
1.9.2 Using Functions 3 Check for Understanding
1.9.3 Live Code - Functions 1 Video
1.9.4 Mini-Project: BTS Analysis 1 Example
1.9.5 Roller Coaster Ranking 5 Exercise
1.9.6 Test Data Conclusion 5 Exercise
1.9.7 Mini-Project: Analysis 5 Challenge
1.10 Mini-Project: Findings Lesson
1.10.1 Presenting Findings 1 Notes
1.10.2 Mini-Project: BTS Presentation 1 Example
1.10.3 Mini-Project: Presentation 5 Challenge
1.10.4 Mini-Project: Reflection 5 Free Response
1.11 The Data Science Life Cycle Quiz Lesson
1.11.1 The Data Science Life Cycle Quiz 15 Quiz
Data Science for Change
2.1 Data Science for Change Lesson
2.1.1 Project Kickoff: Data for Change 1 Notes
2.1.2 Using Data in the Social Sector 1 Connection
2.1.3 The Akshaya Patra Foundation 1 Connection
2.1.4 The Akshaya Patra Foundation 1 Free Response
2.1.5 Step 1: Ask Questions 5 Free Response
2.2 Big Data and Bias Lesson
2.2.1 Big Data and Bias 1 Video
2.2.2 Big Data and Bias 3 Check for Understanding
2.2.3 Machine Learning and Human Bias 1 Connection
2.2.4 Machine Learning and Human Bias 5 Free Response
2.2.5 Cognitive Biases 1 Connection
2.2.6 Cognitive Biases 5 Free Response
2.2.7 Step 2: Consider Data 5 Free Response
2.2.8 Project: Decomposing the Problem 5 Free Response
2.3 Importing and Filtering Data Lesson
2.3.1 Importing and Filtering Data 1 Video
2.3.2 Importing and Filtering Data 3 Check for Understanding
2.3.3 iloc 1 Example
2.3.4 loc 1 Example
2.3.5 Animal Sounds 5 Exercise
2.3.6 Filtering Book Data 5 Exercise
2.3.7 Filtering Reflection 5 Free Response
2.4 Conditional Filtering Lesson
2.4.1 Live Code - Conditional Filtering 1 Video
2.4.2 Conditional Filtering 1 Example
2.4.3 Instagram Filters 5 Exercise
2.4.4 Book Conditions 5 Exercise
2.4.5 Project: Import and Filter Your Data 5 Challenge
2.5 Data Cleaning Lesson
2.5.1 Data Cleaning 1 Video
2.5.2 Data Cleaning 3 Check for Understanding
2.5.3 Live Code - Data Cleaning 1 Video
2.5.4 Dropping Data 1 Example
2.5.5 Fixing Data Types 1 Example
2.5.6 Data Cleaning Functions 1 Resource
2.5.7 Cleaning Up the Zoo 5 Exercise
2.5.8 Cleaning Book Data 5 Exercise
2.5.9 Project: Clean Your Data 5 Challenge
2.6 Exploring with Visualizations Lesson
2.6.1 Analyzing Your Data 1 Notes
2.6.2 Live Code - Data Displays 1 Video
2.6.3 Data Exploration Functions 1 Resource
2.6.4 Data Displays 1 Example
2.6.5 Step 3: Analyze Data 5 Challenge
2.6.6 Project: Plot Your Data 5 Challenge
2.7 Interpret and Present Lesson
2.7.1 Your Dataset 5 Free Response
2.7.2 Statistical Measures 5 Free Response
2.7.3 Data Visualizations 5 Free Response
2.7.4 Step 4: Interpret Data 5 Free Response
2.7.5 Present Your Findings 15 Free Response
2.8 Data Science for Change Quiz Lesson
2.8.1 Data Science for Change Quiz 10 Quiz
Data Storytelling
3.1 Data Storytelling Lesson
3.1.1 Data Storytelling 1 Video
3.1.2 Project Kickoff: Data Storytelling 1 Notes
3.1.3 Sharks: Friends or Foe? 1 Connection
3.1.4 Is That True? DUIs and the NFL 1 Connection
3.1.5 Data Story Reflection 5 Free Response
3.1.6 Choosing a Narrative 1 Connection
3.1.7 What story will you tell? 5 Free Response
3.2 Data for Your Story Lesson
3.2.1 Find and Clean the Data 1 Notes
3.2.2 Clean Your Data 5 Challenge
3.3 Data Visualizations Lesson
3.3.1 Types of Data Visualizations 1 Video
3.3.2 Types of Data Visualizations 4 Check for Understanding
3.3.3 State Education Pie 1 Example
3.3.4 School Scatterplot 1 Example
3.3.5 Debug the Pie 5 Debugging
3.3.6 Pet Bug? 5 Debugging
3.4 Line and Bar Charts Lesson
3.4.1 Live Code - Line and Bar Charts 1 Video
3.4.2 School Line Chart 1 Example
3.4.3 Add Some Style! 1 Example
3.4.4 Rain on Me 5 Exercise
3.4.5 Temperature Bar Chart 1 Example
3.4.6 Bar Chart Comparison 1 Example
3.4.7 Plastic Production 5 Exercise
3.5 Normal Distribution Lesson
3.5.1 Normal Distribution 1 Video
3.5.2 Normal Distribution Quiz 3 Check for Understanding
3.5.3 Normal Houseflies 1 Example
3.5.4 SAT Scores 5 Exercise
3.5.5 Likelihood of a Fly 1 Example
3.5.6 SAT Predictions 5 Exercise
3.5.7 Professor Salaries 5 Exercise
3.5.8 Professor Reflection 5 Free Response
3.6 Explore Univariate Data Lesson
3.6.1 Pie Chart or Boxplot 5 Challenge
3.6.2 Histogram 5 Challenge
3.6.3 Finding the Univariate Story 5 Free Response
3.7 Trends and Correlations Lesson
3.7.1 Trends and Correlations 1 Video
3.7.2 Trends and Correlations Quiz 3 Check for Understanding
3.7.3 Cheese vs. Rain 1 Example
3.7.4 Spurious Correlation 1 Exercise
3.7.5 Spurious Correlation Reflection 5 Free Response
3.7.6 Moderators and Mediators 1 Connection
3.7.7 Moderators and Mediators Reflection 5 Free Response
3.8 Linear Regression Lesson
3.8.1 Linear Regression 1 Video
3.8.2 Linear Regression Quiz 3 Check for Understanding
3.8.3 Live Code - Predictions 1 Video
3.8.4 Old Faithful Model 1 Example
3.8.5 Swim Time Model 5 Exercise
3.8.6 Predicting Old Faithful 1 Example
3.8.7 Predicting Swim Times 5 Exercise
3.8.8 Old Faithful Regression 1 Example
3.8.9 Swim Time Regression 5 Exercise
3.8.10 Regression Reflection 5 Free Response
3.9 Explore Bivariate Data Lesson
3.9.1 Linear Regression 5 Challenge
3.9.2 Finding the Bivariate Story 5 Free Response
3.10.1 Outline the Story Arc 5 Free Response
3.10.2 Draft a Design 5 Free Response
3.10.3 Peer Review 5 Free Response
3.10.4 Final Draft 5 Free Response
3.11 Data Storytelling Quiz Lesson
3.11.1 Data Storytelling Quiz 10 Quiz
4.1 Data Science for Business Lesson
4.1.1 Project Kickoff: Data Science for Business 1 Notes
4.1.2 Data Science for Business 1 Connection
4.1.3 Data Science for Business 5 Free Response
4.1.5 Business Examples 5 Free Response
4.1.7 Nonprofit Businesses 5 Free Response
4.1.8 Project: Create Your Template 5 Free Response
4.1.9 Business Report Template 1 Resource
4.1.10 Sample Business Report 1 Resource
4.2 Quality Datasets Lesson
4.2.1 Quality Datasets 1 Video
4.2.2 Quality Datasets 3 Check for Understanding
4.2.3 Live Code - Fuzzy Matching 1 Video
4.2.4 Google Books Quality 1 Example
4.2.5 Cereal Production Quality 1 Example
4.2.6 Determining Completeness 5 Exercise
4.2.7 Completeness Reflection 5 Free Response
4.2.8 Fuzzy Matching 1 Example
4.2.9 Fuzzy Book Titles 5 Exercise
4.2.10 Renaming Values 1 Example
4.2.11 Fix the Book Titles 5 Exercise
4.3 Aggregating Data Lesson
4.3.1 Aggregating Data 1 Video
4.3.2 Aggregating Data 2 Check for Understanding
4.3.3 Grouping 1 Example
4.3.4 Sorting 1 Example
4.3.5 Billionaire Sort 5 Exercise
4.3.6 Sorting Cereal 5 Exercise
4.3.7 Data Privacy 1 Connection
4.3.8 Data Privacy 5 Free Response
4.3.9 What is Data Aggregation? 1 Connection
4.3.10 Reflection: Data Aggregation? 5 Free Response
4.4 Combining Datasets Lesson
4.4.1 Combining Datasets 1 Video
4.4.2 Combining Datasets 2 Check for Understanding
4.4.3 Live Code - Combining 1 Video
4.4.4 More Books, Please! 1 Example
4.4.5 Concatenating Cats 5 Exercise
4.4.6 Filling in Gaps 1 Example
4.4.7 School Nurse 5 Exercise
4.4.8 Coding for Real Estate Data 1 Connection
4.4.9 Coding for Real Estate Data 5 Free Response
4.5.1 Gather and Combine Your Data 1 Notes
4.5.2 Your Data Quality 5 Exercise
4.5.3 Combining Your Datasets 5 Challenge
4.5.4 Sorting Your Data 5 Challenge
4.5.5 Clean Your Dataset 5 Challenge
4.5.6 Project: Introduction 5 Free Response
4.6 Bias in Data Analytics Lesson
4.6.1 Bias in Data Analytics 1 Video
4.6.2 Bias in Data Analytics Quiz 2 Check for Understanding
4.6.3 Avoiding Bias 5 Free Response
4.6.4 Analyze and Interpret 5 Challenge
4.6.5 Visualizations 5 Challenge
4.7.1 Project: Conclusions 5 Free Response
4.7.2 Project: Recommendations 5 Free Response
4.7.3 Project: Findings and Discussion 5 Free Response
4.7.4 Project: Executive Summary 5 Free Response
4.7.5 Completed Business Report 5 Free Response
4.8 Data Science for Business Quiz Lesson
4.8.1 Data Science for Business Quiz 10 Quiz
Final Exam
5.1 Final Exam Lesson
5.1.1 Final Exam 10 Quiz
What's Next?
6.1 What's Next? Lesson
6.1.1 Data Science Pathways 1 Notes
6.1.2 Career Pathways 1 Connection
6.1.3 Data Science Resources 1 Notes
6.1.4 AI Course 1 Connection
6.1.5 Clustering and Old Faithful 1 Example
6.1.6 Python Course 1 Connection
6.1.7 Python Demo 1 Example
6.1.8 SQL Course 1 Connection
6.1.9 SQL Demo 1 Example
6.1.10 My Pathway 5 Free Response
Basic Python Bootcamp
7.1 Printing in Python Lesson
7.1.1 Printing in Python 0 Video
7.1.2 Printing in Python 1 Quiz
7.1.3 Hello, world! 0 Example
7.1.4 Printing Multiple Lines 0 Example
7.1.5 Introduce Yourself 5 Exercise
7.1.6 Fix This Program! 5 Debugging
7.1.7 Vertical name 5 Exercise
7.2 Variables and Types Lesson
7.2.1 Variables and Types 0 Video
7.2.2 Variables and Types 2 Quiz
7.2.3 Variables in Action 0 Example
7.2.4 Variable Types 0 Example
7.2.5 Variable Naming 0 Example
7.2.6 Make Some Variables! 5 Exercise
7.2.7 Undefined Variables 5 Debugging
7.3 User Input Lesson
7.3.1 User Input 0 Video
7.3.2 User Input 2 Quiz
7.3.3 Basic User Input 0 Example
7.3.4 Type Conversion 0 Example
7.3.5 Type Conversion, Part 2 0 Example
7.3.6 Hello <name> 5 Exercise
7.3.7 Age 5 Exercise
7.4 Mathematical Operators Lesson
7.4.1 Mathematical Operators 1 Video
7.4.2 Mathematical Operators 2 Check for Understanding
7.4.3 Operators and Integers 1 Example
7.4.4 Operator Precedence 1 Example
7.4.6 Division in Python 5 Example
7.4.7 Operators and Floats 1 Example
7.4.8 Rectangle 5 Exercise
7.5 String Operators Lesson
7.5.1 String Operators 1 Video
7.5.2 String Operators 2 Check for Understanding
7.5.3 Operators and Strings 1 Example
7.5.4 Fix This Program 5 Debugging
7.5.5 Team Sizes 1 Example
7.5.6 Introduce Yourself, Part 2 5 Exercise
7.5.7 Rectangle, Part 2 5 Exercise
7.5.8 Rectangle, Part 3 5 Exercise
7.5.9 Recipe 10 Challenge
7.6 Booleans Lesson
7.6.1 Booleans 0 Video
7.6.2 Booleans 1 Quiz
7.6.3 Boolean Variables 0 Example
7.6.4 Fix This Program 5 Debugging
7.6.5 Plants 5 Exercise
7.7 If Statements Lesson
7.7.1 If Statements 0 Video
7.7.2 If Statements 2 Quiz
7.7.3 Your First If Statement 0 Example
7.7.4 If-Else Statement 0 Example
7.7.5 Fix This Program 5 Debugging
7.7.6 Is It Raining? 5 Exercise
7.8 Comparison Operators Lesson
7.8.1 Comparison Operators 1 Video
7.8.2 Comparison Operators 2 Check for Understanding
7.8.3 Comparison Operators 1 Example
7.8.4 High Jump 1 Example
7.8.5 Roller Coaster 1 Example
7.8.6 Old Enough to Vote? 5 Exercise
7.8.7 Positive, Zero, or Negative? 5 Exercise
7.8.8 Age Group 1 Example
7.8.9 Table Reservation 5 Exercise
7.8.10 Transaction 10 Challenge
7.9 Logical Operators Lesson
7.9.1 Logical Operators 1 Video
7.9.2 Logical Operators 2 Check for Understanding
7.9.3 Logical Operators 1 Example
7.9.4 Administrators, Teachers, and Students 5 Exercise
7.9.5 Presidential Eligibility 5 Exercise
7.9.6 Presidential Eligibility- Extended 10 Challenge
7.10 While Loops Lesson
7.10.1 While Loops 0 Video
7.10.2 While Loops 2 Quiz
7.10.3 Guess My Number 0 Example
7.10.4 Program Tracing 0 Example
7.10.5 Program Tracing, Part 2 0 Example
7.10.6 2 Through 20 Even 5 Exercise
7.10.7 Divisibility 5 Exercise
7.11 For Loops Lesson
7.11.1 For Loops 1 Video
7.11.2 For Loops 2 Check for Understanding
7.11.3 Print 10 Numbers 1 Example
7.11.4 1 Through 10, Part 2 1 Example
7.11.5 Counting 10 to 100 by Tens 5 Exercise
7.11.6 Running Total 1 Example
7.11.7 Running Total, Part 2 1 Example
7.11.8 Average Test Score 5 Exercise
7.11.9 How Many Names? 5 Exercise
7.11.11 Mindset Survey 2 1 Survey
7.12 Break and Continue Lesson
7.12.1 Break and Continue 1 Video
7.12.2 Break and Continue 2 Check for Understanding
7.12.3 Break 1 Example
7.12.4 Continue 1 Example
7.12.5 Bike Frame Size 1 Example
7.12.6 Loop and a Half 1 Example
7.12.7 Higher/ Lower 5 Exercise
7.12.8 Higher / Lower 2.0 10 Challenge
7.13 Nested Control Structures Lesson
7.13.1 Nested Control Structures 0 Video
7.13.2 Nested Control Structures 1 Quiz
7.13.3 Double For Loop 0 Example
7.13.4 Average Test Score, Part 2 0 Example
7.13.5 For Loop + While Loop 0 Example
7.13.6 Rolling Dice 5 Exercise
7.13.7 Categories 5 Exercise
7.14 Functions Lesson
7.14.1 Functions 1 Video
7.14.2 Functions 2 Check for Understanding
7.14.3 Greeting 1 Example
7.14.4 Extended Greeting 1 Example
7.14.5 Weather 5 Exercise
7.15 Functions and Parameters Lesson
7.15.1 Functions and Parameters 1 Video
7.15.2 Functions and Parameters 2 Check for Understanding
7.15.3 Print a Value 1 Example
7.15.4 Name and Age 1 Example
7.15.5 Print Product 5 Exercise
7.15.6 Print Multiple Times 5 Exercise
7.15.7 Default Parameter Values 1 Example
7.15.8 Area of a Square with Default Parameters 5 Exercise
7.16 Namespaces in Functions Lesson
7.16.1 Namespaces in Functions 1 Video
7.16.2 Namespaces in Functions 2 Check for Understanding
7.16.3 Functions and Variables 1 Example
7.16.4 Functions and Variables, Part 2 1 Example
7.16.5 Fix This Program! 5 Debugging
7.16.6 Adding to a Value 5 Exercise
7.16.7 Add, Subtract, or Multiply 5 Exercise
7.17 Functions and Return Values Lesson
7.17.1 Functions and Return Values 1 Video
7.17.2 Functions and Return Values 2 Check for Understanding
7.17.3 Return 10 1 Example