In [31]:
import pandas as pd
In [32]:
ufo = pd.read_csv('http://bit.ly/uforeports')
In [33]:
ufo.head()
Out[33]:
In [34]:
ufo.shape
Out[34]:
In [35]:
ufo.drop('Colors Reported', axis=1, inplace=True)
In [36]:
ufo.head()
Out[36]:
In [37]:
ufo.drop(['City', 'State'], axis=1, inplace=True)
In [38]:
ufo.head()
Out[38]:
In [40]:
ufo.drop([0,1] , axis=0, inplace=True)
In [41]:
ufo.head()
Out[41]:
In [42]:
ufo.shape
Out[42]:
In [ ]:
No comments:
Post a Comment