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]:
col0 col1 col2 col3
count 4.000000 4.000000 4.000000 4.000000
mean -0.047068 -0.550656 0.409203 -0.447672
std 1.029715 0.701720 0.723956 1.300815
min -1.062870 -1.330682 -0.238536 -1.649853
25% -0.807875 -0.880830 -0.143055 -1.475916
50% -0.142899 -0.617291 0.283070 -0.592780
75% 0.617907 -0.287118 0.835328 0.435464
max 1.160396 0.362640 1.309208 1.044722

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]:
2   -1.417937
3   -1.649853
Name: col3, dtype: float64

In [ ]:


In [ ]:


In [ ]:


In [ ]: