### Please enable JavaScript to use CodeHS

Data Science with Python

#### Points

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