Make a file named pandas_series.py
or pandas_series.ipynb
for the following exercises.
Given ["kiwi", "mango", "strawberry", "pineapple", "gala apple", "honeycrisp apple", "tomato", "watermelon", "honeydew", "kiwi", "kiwi", "kiwi", "mango", "blueberry", "blackberry", "gooseberry", "papaya"]
-
Create a pandas series called
fruits
to hold the above data. -
Run
.describe()
on the series to see whatdescribe
returns for a series of strings. -
Run the code necessary to produce only the unique fruit names.