MISSION 290

Boolean Indexing with NumPy

Learn how to select data based on their values.

Objectives

  • Learn to create boolean arrays based on data values.
  • Learn to use boolean arrays to select specific rows and columns.
  • Learn to use boolean indexing to perform data analysis.

Mission Outline

1. Reading CSV files with NumPy
2. Boolean Arrays
3. Boolean Indexing with 1D ndarrays
4. Boolean Indexing with 2D ndarrays
5. Assigning Values in ndarrays
6. Assignment Using Boolean Arrays
7. Challenge: Which is the most popular airport?
8. Challenge: Calculating Statistics for Trips on Clean Data
9. Next Steps
10. Takeaways

Course Info:

Pandas and NumPy Fundamentals

Intermediate

The average completion time for this course is 10-hours.This course requires a basic subscription and includes five missions and one guided project.  It is the 3rd course in the Data Analyst in Python path and Data Scientist in Python path.

START LEARNING FREE

Take a Look Inside

Share On Facebook
Share On Twitter
Share On Linkedin
Share On Reddit