HW 17

Due Friday

Download the Marvel superhero dataset in CSV format. Click the "marvel-wikia-data.csv" link (doesn't look like a link but plain text) and then the Download button.

Write a program marvel.py that uses Pandas to read this CSV file into a DataFrame. Your task is to then get all female characters who have red hair. Create a list of their names, and print the first 10 in the list.

TIP: "Female Characters" is the value in the SEX column
TIP: "Red Hair" is the value in the HAIR column

Expected output:

Mary Jane Watson (Earth-616)
Jean Grey (Earth-616)
Natalia Romanova (Earth-616)
Patricia Walker (Earth-616)
Rahne Sinclair (Earth-616)
Medusalith Amaquelin (Earth-616)
Raven Darkholme (Earth-616)
Angelica Jones (Earth-616)
Chili Storm (Earth-616)
Virginia Potts (Earth-616)

Starter program:

import pandas as pd


	 

Submit

Submit your program to the online submission system under hw17-marvel

submit -c=sd211 -p=hw17-marvel marvel.py