### Please enable JavaScript to use CodeHS

Data Science with Python

1. ## The Data Science Life Cycle

1. ### 1.1 What is Data Science?

2. Video 1.1.1 What is Data Science?
3. Check for Understanding 1.1.2 What is Data Science?
4. Connection 1.1.3 What Does a Data Scientist Do?
5. Free Response 1.1.4 What Does a Data Scientist Do?
6. Free Response 1.1.5 Statistical Questions
7. Free Response 1.1.6 Lookup, Compute, Relate
8. Connection 1.1.7 Exploring Data I
9. Free Response 1.1.8 Exploring Data II
10. Connection 1.1.9 Exploring Data III
11. Free Response 1.1.10 Exploring Data IV
12. Free Response 1.1.11 My Interests and Goals
13. ### 1.2 Gathering Data

14. Video 1.2.1 Gathering Data
15. Check for Understanding 1.2.2 Gathering Data
16. Free Response 1.2.3 Quantitative/Qualitative
17. Video 1.2.4 Live Code - Gathering Data
18. Exercise 1.2.5 Data Sort
19. Free Response 1.2.6 Pros and Cons
20. Free Response 1.2.7 Mini-Project: The Data Science Life Cycle
21. Example 1.2.8 Mini-Project: BTS
22. Free Response 1.2.9 Mini-Project: Collect the Data
23. Challenge 1.2.10 Mini-Project: Structure the Data
24. Free Response 1.2.11 Mini-Project: Plan for Analysis
25. ### 1.3 Exploring Data Using Python

26. Video 1.3.1 Exploring Data Using Python
27. Check for Understanding 1.3.2 Exploring Data Using Python
28. Video 1.3.3 Live Code - Lists
29. Example 1.3.4 Using Lists
30. Exercise 1.3.5 Practice with Lists
31. Exercise 1.3.6 Mini-Project: Lists
32. Exercise 1.3.7 Practice with Operators
33. Exercise 1.3.8 Finding the Average
34. Free Response 1.3.9 Mini-Project: How Can We Use This?
35. ### 1.4 Modules, Packages & Libraries

36. Video 1.4.1 Modules, Packages and Libraries
37. Check for Understanding 1.4.2 Modules, Packages, and Libraries
38. Video 1.4.3 Live Code - Libraries
39. Example 1.4.4 Random
40. Example 1.4.5 Math and Statistics
41. Example 1.4.6 Emoji
42. Exercise 1.4.7 Wikipedia
43. Connection 1.4.8 Documentation Hunt
44. Free Response 1.4.9 Documentation Hunt
45. ### 1.5 Series and Central Tendency

46. Video 1.5.1 Series and Central Tendency
47. Check for Understanding 1.5.2 Series and Central Tendency
48. Example 1.5.3 Changing Indices
49. Example 1.5.4 Series and Indices
50. Exercise 1.5.5 Hot Dog Series
51. Example 1.5.6 People Named Anna
52. Exercise 1.5.7 Hot Dog Statistics
53. Free Response 1.5.8 Critiquing Conclusions
54. ### 1.6 Measures of Spread

55. Video 1.6.1 Measures of Spread
56. Check for Understanding 1.6.2 Measures of Spread
57. Notes 1.6.3 CodeHS Graphics
58. Example 1.6.4 Measures of Spread
59. Exercise 1.6.5 Hot Dog Spread
60. Example 1.6.6 Plotting Data
61. Exercise 1.6.7 Hot Dog Plots
62. Free Response 1.6.8 Hot Dog Conclusion
63. ### 1.7 Pandas DataFrames

64. Video 1.7.1 Pandas DataFrames
65. Check for Understanding 1.7.2 Pandas DataFrames
66. Video 1.7.3 Live Code - DataFrames
67. Example 1.7.4 Create a DataFrame
68. Exercise 1.7.5 Student Test Data
69. Example 1.7.6 Mammals DataFrame Info
70. Exercise 1.7.7 Test Data Info
71. Exercise 1.7.8 Test Data Selection
72. ### 1.8 Selecting Columns

73. Video 1.8.1 Selecting Columns
74. Check for Understanding 1.8.2 Selecting Columns
75. Video 1.8.3 Live Code - Selecting Columns
76. Example 1.8.4 Selecting Columns
77. Example 1.8.5 Modifying the Index
78. Exercise 1.8.6 Test Data Stats
79. Exercise 1.8.7 Specific Test Data
80. ### 1.9 Using Functions

81. Video 1.9.1 Using Functions
82. Check for Understanding 1.9.2 Using Functions
83. Video 1.9.3 Live Code - Functions
84. Example 1.9.4 Mini-Project: BTS Analysis
85. Exercise 1.9.5 Roller Coaster Ranking
86. Exercise 1.9.6 Test Data Conclusion
87. Challenge 1.9.7 Mini-Project: Analysis
88. ### 1.10 Mini-Project: Findings

89. Notes 1.10.1 Presenting Findings
90. Example 1.10.2 Mini-Project: BTS Presentation
91. Challenge 1.10.3 Mini-Project: Presentation
92. Free Response 1.10.4 Mini-Project: Reflection
93. ### 1.11 The Data Science Life Cycle Quiz

94. Quiz 1.11.1 The Data Science Life Cycle Quiz
2. ## Data Science for Change

1. ### 2.1 Data Science for Change

2. Notes 2.1.1 Project Kickoff: Data for Change
3. Connection 2.1.2 Using Data in the Social Sector
4. Connection 2.1.3 The Akshaya Patra Foundation
5. Free Response 2.1.4 The Akshaya Patra Foundation
6. Free Response 2.1.5 Step 1: Ask Questions
7. ### 2.2 Big Data and Bias

8. Video 2.2.1 Big Data and Bias
9. Check for Understanding 2.2.2 Big Data and Bias
10. Connection 2.2.3 Machine Learning and Human Bias
11. Free Response 2.2.4 Machine Learning and Human Bias
12. Connection 2.2.5 Cognitive Biases
13. Free Response 2.2.6 Cognitive Biases
14. Free Response 2.2.7 Step 2: Consider Data
15. Free Response 2.2.8 Project: Decomposing the Problem
16. ### 2.3 Importing and Filtering Data

17. Video 2.3.1 Importing and Filtering Data
18. Check for Understanding 2.3.2 Importing and Filtering Data
19. Example 2.3.3 iloc
20. Example 2.3.4 loc
21. Exercise 2.3.5 Animal Sounds
22. Exercise 2.3.6 Filtering Book Data
23. Free Response 2.3.7 Filtering Reflection
24. ### 2.4 Conditional Filtering

25. Video 2.4.1 Live Code - Conditional Filtering
26. Example 2.4.2 Conditional Filtering
27. Exercise 2.4.3 Instagram Filters
28. Exercise 2.4.4 Book Conditions
29. Challenge 2.4.5 Project: Import and Filter Your Data
30. ### 2.5 Data Cleaning

31. Video 2.5.1 Data Cleaning
32. Check for Understanding 2.5.2 Data Cleaning
33. Video 2.5.3 Live Code - Data Cleaning
34. Example 2.5.4 Dropping Data
35. Example 2.5.5 Fixing Data Types
36. Resource 2.5.6 Data Cleaning Functions
37. Exercise 2.5.7 Cleaning Up the Zoo
38. Exercise 2.5.8 Cleaning Book Data
39. Challenge 2.5.9 Project: Clean Your Data
40. ### 2.6 Exploring with Visualizations

41. Notes 2.6.1 Analyzing Your Data
42. Video 2.6.2 Live Code - Data Displays
43. Resource 2.6.3 Data Exploration Functions
44. Example 2.6.4 Data Displays
45. Challenge 2.6.5 Step 3: Analyze Data
46. Challenge 2.6.6 Project: Plot Your Data
47. ### 2.7 Interpret and Present

48. Free Response 2.7.1 Your Dataset
49. Free Response 2.7.2 Statistical Measures
50. Free Response 2.7.3 Data Visualizations
51. Free Response 2.7.4 Step 4: Interpret Data
52. Free Response 2.7.5 Present Your Findings
53. ### 2.8 Data Science for Change Quiz

54. Quiz 2.8.1 Data Science for Change Quiz
3. ## Data Storytelling

1. ### 3.1 Data Storytelling

2. Video 3.1.1 Data Storytelling
3. Notes 3.1.2 Project Kickoff: Data Storytelling
4. Connection 3.1.3 Sharks: Friends or Foe?
5. Connection 3.1.4 Is That True? DUIs and the NFL
6. Free Response 3.1.5 Data Story Reflection
7. Connection 3.1.6 Choosing a Narrative
8. Free Response 3.1.7 What story will you tell?
9. ### 3.2 Data for Your Story

10. Notes 3.2.1 Find and Clean the Data
11. Challenge 3.2.2 Clean Your Data
12. ### 3.3 Data Visualizations

13. Video 3.3.1 Types of Data Visualizations
14. Check for Understanding 3.3.2 Types of Data Visualizations
15. Example 3.3.3 State Education Pie
16. Example 3.3.4 School Scatterplot
17. Debugging 3.3.5 Debug the Pie
18. Debugging 3.3.6 Pet Bug?
19. ### 3.4 Line and Bar Charts

20. Video 3.4.1 Live Code - Line and Bar Charts
21. Example 3.4.2 School Line Chart
22. Example 3.4.3 Add Some Style!
23. Exercise 3.4.4 Rain on Me
24. Example 3.4.5 Temperature Bar Chart
25. Example 3.4.6 Bar Chart Comparison
26. Exercise 3.4.7 Plastic Production
27. ### 3.5 Normal Distribution

28. Video 3.5.1 Normal Distribution
29. Check for Understanding 3.5.2 Normal Distribution Quiz
30. Example 3.5.3 Normal Houseflies
31. Exercise 3.5.4 SAT Scores
32. Example 3.5.5 Likelihood of a Fly
33. Exercise 3.5.6 SAT Predictions
34. Exercise 3.5.7 Professor Salaries
35. Free Response 3.5.8 Professor Reflection
36. ### 3.6 Explore Univariate Data

37. Challenge 3.6.1 Pie Chart or Boxplot
38. Challenge 3.6.2 Histogram
39. Free Response 3.6.3 Finding the Univariate Story
40. ### 3.7 Trends and Correlations

41. Video 3.7.1 Trends and Correlations
42. Check for Understanding 3.7.2 Trends and Correlations Quiz
43. Example 3.7.3 Cheese vs. Rain
44. Exercise 3.7.4 Spurious Correlation
45. Free Response 3.7.5 Spurious Correlation Reflection
46. Connection 3.7.6 Moderators and Mediators
47. Free Response 3.7.7 Moderators and Mediators Reflection
48. ### 3.8 Linear Regression

49. Video 3.8.1 Linear Regression
50. Check for Understanding 3.8.2 Linear Regression Quiz
51. Video 3.8.3 Live Code - Predictions
52. Example 3.8.4 Old Faithful Model
53. Exercise 3.8.5 Swim Time Model
54. Example 3.8.6 Predicting Old Faithful
55. Exercise 3.8.7 Predicting Swim Times
56. Example 3.8.8 Old Faithful Regression
57. Exercise 3.8.9 Swim Time Regression
58. Free Response 3.8.10 Regression Reflection
59. ### 3.9 Explore Bivariate Data

60. Challenge 3.9.1 Linear Regression
61. Free Response 3.9.2 Finding the Bivariate Story
62. ### 3.10 Telling Your Story

63. Free Response 3.10.1 Outline the Story Arc
64. Free Response 3.10.2 Draft a Design
65. Free Response 3.10.3 Peer Review
66. Free Response 3.10.4 Final Draft
67. ### 3.11 Data Storytelling Quiz

68. Quiz 3.11.1 Data Storytelling Quiz
4. ## Data Science for Business

1. ### 4.1 Data Science for Business

2. Notes 4.1.1 Project Kickoff: Data Science for Business
3. Connection 4.1.2 Data Science for Business
4. Free Response 4.1.3 Data Science for Business
6. Free Response 4.1.5 Business Examples
8. Free Response 4.1.7 Nonprofit Businesses
9. Free Response 4.1.8 Project: Create Your Template
10. Resource 4.1.9 Business Report Template
11. Resource 4.1.10 Sample Business Report
12. ### 4.2 Quality Datasets

13. Video 4.2.1 Quality Datasets
14. Check for Understanding 4.2.2 Quality Datasets
15. Video 4.2.3 Live Code - Fuzzy Matching
16. Example 4.2.4 Google Books Quality
17. Example 4.2.5 Cereal Production Quality
18. Exercise 4.2.6 Determining Completeness
19. Free Response 4.2.7 Completeness Reflection
20. Example 4.2.8 Fuzzy Matching
21. Exercise 4.2.9 Fuzzy Book Titles
22. Example 4.2.10 Renaming Values
23. Exercise 4.2.11 Fix the Book Titles
24. ### 4.3 Aggregating Data

25. Video 4.3.1 Aggregating Data
26. Check for Understanding 4.3.2 Aggregating Data
27. Example 4.3.3 Grouping
28. Example 4.3.4 Sorting
29. Exercise 4.3.5 Billionaire Sort
30. Exercise 4.3.6 Sorting Cereal
31. Connection 4.3.7 Data Privacy
32. Free Response 4.3.8 Data Privacy
33. Connection 4.3.9 What is Data Aggregation?
34. Free Response 4.3.10 Reflection: Data Aggregation?
35. ### 4.4 Combining Datasets

36. Video 4.4.1 Combining Datasets
37. Check for Understanding 4.4.2 Combining Datasets
38. Video 4.4.3 Live Code - Combining
39. Example 4.4.4 More Books, Please!
40. Exercise 4.4.5 Concatenating Cats
41. Example 4.4.6 Filling in Gaps
42. Exercise 4.4.7 School Nurse
43. Connection 4.4.8 Coding for Real Estate Data
44. Free Response 4.4.9 Coding for Real Estate Data

46. Notes 4.5.1 Gather and Combine Your Data
47. Exercise 4.5.2 Your Data Quality
48. Challenge 4.5.3 Combining Your Datasets
49. Challenge 4.5.4 Sorting Your Data
50. Challenge 4.5.5 Clean Your Dataset
51. Free Response 4.5.6 Project: Introduction
52. ### 4.6 Bias in Data Analytics

53. Video 4.6.1 Bias in Data Analytics
54. Check for Understanding 4.6.2 Bias in Data Analytics Quiz
55. Free Response 4.6.3 Avoiding Bias
56. Challenge 4.6.4 Analyze and Interpret
57. Challenge 4.6.5 Visualizations

59. Free Response 4.7.1 Project: Conclusions
60. Free Response 4.7.2 Project: Recommendations
61. Free Response 4.7.3 Project: Findings and Discussion
62. Free Response 4.7.4 Project: Executive Summary
63. Free Response 4.7.5 Completed Business Report
64. ### 4.8 Data Science for Business Quiz

65. Quiz 4.8.1 Data Science for Business Quiz
5. ## Final Exam

1. ### 5.1 Final Exam

2. Quiz 5.1.1 Final Exam
6. ## What's Next?

1. ### 6.1 What's Next?

2. Notes 6.1.1 Data Science Pathways
3. Connection 6.1.2 Career Pathways
4. Notes 6.1.3 Data Science Resources
5. Connection 6.1.4 AI Course
6. Example 6.1.5 Clustering and Old Faithful
7. Connection 6.1.6 Python Course
8. Example 6.1.7 Python Demo
9. Connection 6.1.8 SQL Course
10. Example 6.1.9 SQL Demo
11. Free Response 6.1.10 My Pathway
7. ## Basic Python Bootcamp

1. ### 7.1 Printing in Python

2. Video 7.1.1 Printing in Python
3. Quiz 7.1.2 Printing in Python
4. Example 7.1.3 Hello, world!
5. Example 7.1.4 Printing Multiple Lines
6. Exercise 7.1.5 Introduce Yourself
7. Debugging 7.1.6 Fix This Program!
8. Exercise 7.1.7 Vertical name
9. ### 7.2 Variables and Types

10. Video 7.2.1 Variables and Types
11. Quiz 7.2.2 Variables and Types
12. Example 7.2.3 Variables in Action
13. Example 7.2.4 Variable Types
14. Example 7.2.5 Variable Naming
15. Exercise 7.2.6 Make Some Variables!
16. Debugging 7.2.7 Undefined Variables
18. ### 7.3 User Input

19. Video 7.3.1 User Input
20. Quiz 7.3.2 User Input
21. Example 7.3.3 Basic User Input
22. Example 7.3.4 Type Conversion
23. Example 7.3.5 Type Conversion, Part 2
24. Exercise 7.3.6 Hello <name>
25. Exercise 7.3.7 Age
26. ### 7.4 Mathematical Operators

27. Video 7.4.1 Mathematical Operators
28. Check for Understanding 7.4.2 Mathematical Operators
29. Example 7.4.3 Operators and Integers
30. Example 7.4.4 Operator Precedence
32. Example 7.4.6 Division in Python
33. Example 7.4.7 Operators and Floats
34. Exercise 7.4.8 Rectangle
35. ### 7.5 String Operators

36. Video 7.5.1 String Operators
37. Check for Understanding 7.5.2 String Operators
38. Example 7.5.3 Operators and Strings
39. Debugging 7.5.4 Fix This Program
40. Example 7.5.5 Team Sizes
41. Exercise 7.5.6 Introduce Yourself, Part 2
42. Exercise 7.5.7 Rectangle, Part 2
43. Exercise 7.5.8 Rectangle, Part 3
44. Challenge 7.5.9 Recipe
45. ### 7.6 Booleans

46. Video 7.6.1 Booleans
47. Quiz 7.6.2 Booleans
48. Example 7.6.3 Boolean Variables
49. Debugging 7.6.4 Fix This Program
50. Exercise 7.6.5 Plants
51. ### 7.7 If Statements

52. Video 7.7.1 If Statements
53. Quiz 7.7.2 If Statements
54. Example 7.7.3 Your First If Statement
55. Example 7.7.4 If-Else Statement
56. Debugging 7.7.5 Fix This Program
57. Exercise 7.7.6 Is It Raining?
59. ### 7.8 Comparison Operators

60. Video 7.8.1 Comparison Operators
61. Check for Understanding 7.8.2 Comparison Operators
62. Example 7.8.3 Comparison Operators
63. Example 7.8.4 High Jump
64. Example 7.8.5 Roller Coaster
65. Exercise 7.8.6 Old Enough to Vote?
66. Exercise 7.8.7 Positive, Zero, or Negative?
67. Example 7.8.8 Age Group
68. Exercise 7.8.9 Table Reservation
69. Challenge 7.8.10 Transaction
70. ### 7.9 Logical Operators

71. Video 7.9.1 Logical Operators
72. Check for Understanding 7.9.2 Logical Operators
73. Example 7.9.3 Logical Operators
74. Exercise 7.9.4 Administrators, Teachers, and Students
75. Exercise 7.9.5 Presidential Eligibility
76. Challenge 7.9.6 Presidential Eligibility- Extended
77. ### 7.10 While Loops

78. Video 7.10.1 While Loops
79. Quiz 7.10.2 While Loops
80. Example 7.10.3 Guess My Number
81. Example 7.10.4 Program Tracing
82. Example 7.10.5 Program Tracing, Part 2
83. Exercise 7.10.6 2 Through 20 Even
84. Exercise 7.10.7 Divisibility
85. ### 7.11 For Loops

86. Video 7.11.1 For Loops
87. Check for Understanding 7.11.2 For Loops
88. Example 7.11.3 Print 10 Numbers
89. Example 7.11.4 1 Through 10, Part 2
90. Exercise 7.11.5 Counting 10 to 100 by Tens
91. Example 7.11.6 Running Total
92. Example 7.11.7 Running Total, Part 2
93. Exercise 7.11.8 Average Test Score
94. Exercise 7.11.9 How Many Names?
96. Survey 7.11.11 Mindset Survey 2
97. ### 7.12 Break and Continue

98. Video 7.12.1 Break and Continue
99. Check for Understanding 7.12.2 Break and Continue
100. Example 7.12.3 Break
101. Example 7.12.4 Continue
102. Example 7.12.5 Bike Frame Size
103. Example 7.12.6 Loop and a Half
104. Exercise 7.12.7 Higher/ Lower
105. Challenge 7.12.8 Higher / Lower 2.0
106. ### 7.13 Nested Control Structures

107. Video 7.13.1 Nested Control Structures
108. Quiz 7.13.2 Nested Control Structures
109. Example 7.13.3 Double For Loop
110. Example 7.13.4 Average Test Score, Part 2
111. Example 7.13.5 For Loop + While Loop
112. Exercise 7.13.6 Rolling Dice
113. Exercise 7.13.7 Categories
114. ### 7.14 Functions

115. Video 7.14.1 Functions
116. Check for Understanding 7.14.2 Functions
117. Example 7.14.3 Greeting
118. Example 7.14.4 Extended Greeting
119. Exercise 7.14.5 Weather
120. ### 7.15 Functions and Parameters

121. Video 7.15.1 Functions and Parameters
122. Check for Understanding 7.15.2 Functions and Parameters
123. Example 7.15.3 Print a Value
124. Example 7.15.4 Name and Age
125. Exercise 7.15.5 Print Product
126. Exercise 7.15.6 Print Multiple Times
127. Example 7.15.7 Default Parameter Values
128. Exercise 7.15.8 Area of a Square with Default Parameters
129. ### 7.16 Namespaces in Functions

130. Video 7.16.1 Namespaces in Functions
131. Check for Understanding 7.16.2 Namespaces in Functions
132. Example 7.16.3 Functions and Variables
133. Example 7.16.4 Functions and Variables, Part 2
134. Debugging 7.16.5 Fix This Program!
135. Exercise 7.16.6 Adding to a Value
136. Exercise 7.16.7 Add, Subtract, or Multiply
137. ### 7.17 Functions and Return Values

138. Video 7.17.1 Functions and Return Values
139. Check for Understanding 7.17.2 Functions and Return Values
140. Example 7.17.3 Return 10
142. Example 7.17.5 Negate
143. Example 7.17.6 Functions Calling Functions
144. Example 7.17.7 Function Calls As Parameters
145. Exercise 7.17.8 Sum Two Numbers
146. Exercise 7.17.9 Temperature Converter