PANDAS HW
Due Wed May 5th
1) Import pandas as pd
a. Create a series of 5 dog names
. Create a series of 5 dog’s ages
c. Create a data frame that has dog names as the
index and two columns of data. First column is
the age, and second column is “yes” or “no” for
eing adopted.
d. Locate the data for each dog
e. Locate all adopted dogs
2) Create a data frame with 5 athletes include columns
and data for win percentage, age, and sport (two
athletes should play the same sport for this -
problem). Make sure to populate your data frame
with data.
a. Locate each athlete’s data
. Locate athlete’s data that play the same sport
3) Create a data frame with your choice of index,
columns, and data.
a. There should be at least 3 data columns in your
data frame.
. Locate two different indexes in your data frame.