In [1]:
import pandas as pd
# TODO: Load up the 'tutorial.csv' dataset
#
# .. your code here ..
# TODO: Print the results of the .describe() method
#
# .. your code here ..
# TODO: Figure out which indexing method you need to
# use in order to index your dataframe with: [2:4,'col3']
# And print the results
#
# .. your code here ..
In [2]:
# TODO: Load up the 'tutorial.csv' dataset
df = pd.read_csv('datasets/tutorial.csv')
In [3]:
# TODO: Print the results of the .describe() method
df.describe()
Out[3]:
In [11]:
# TODO: Figure out which indexing method you need to
# use in order to index your dataframe with: [2:4,'col3']
# And print the results
df['col3'].iloc[2:4]
Out[11]:
In [ ]:
In [ ]:
In [ ]:
In [ ]: