10 mins to Pandas Flashcards
1
Q
What method can I use to create a series?
A
pd.Series
arg- a list surrounded by [ ]
2
Q
What method would you use to create a data frame?
A
pd.DataFrame
3
Q
How would I see the first 5 row of a data frame?
A
pd.head()
4
Q
How would I see the last five rows of a data frame?
A
pd.tail()
5
Q
what method can I use to get a summary of basic statistics from a data frame?
A
df.describe()