Focus Week · Aug 17–23 Eight data and AI paths open free for one week. No credit card required

Star Wars Survey

  • Guided Project
  • 1.2 hours
  • Beginner
  • Python

Practice mapping column values and computing statistics in Python and pandas to analyze Star Wars survey data.

Overview

In this project, you'll take on the role of a data analyst to explore and analyze FiveThirtyEight's Star Wars survey data. You'll apply your Python and pandas skills to clean messy, real-world data and uncover insights into fan film preferences and opinions. You'll wrangle data by mapping yes/no columns to Booleans, converting checkbox responses, renaming columns, and computing statistics to determine the highest-ranked and most-viewed Star Wars films. Comparing results between demographic segments will reveal differing fan preferences. This project provides hands-on practice with key data cleaning and analysis techniques essential for data analyst roles across industries. Objective: Use Python and pandas to clean and analyze Star Wars survey data, identifying fan preferences and demographic trends to guide business decisions around the Star Wars franchise.

What You'll Learn

  • Clean and map column values in pandas
  • Compute summary statistics

Before You Start

  • Exploring and cleaning data using pandas
  • Combining datasets and performing joins in pandas
  • Applying functions over columns in pandas DataFrames
  • Analyzing survey data using pandas

Project Steps

9 steps

  1. 1 How Guided Projects Work
  2. 2 Overview
  3. 3 Cleaning and Mapping Yes/No Columns
  4. 4 Cleaning and Mapping Checkbox Columns
  5. 5 Cleaning the Ranking Columns
  6. 6 Finding the Highest-Ranked Movie
  7. 7 Finding the Most Viewed Movie
  8. 8 Exploring the Data by Binary Segments
  9. 9 Next Steps

Join 1M+ data learners on Dataquest.

  1. 1

    Create a free account

  2. 2

    Choose a learning path

  3. 3

    Complete exercises and projects

  4. 4

    Advance your career