Pandas Flashcards
More useful than the Animal itself will ever be.
1
Q
DataFrame vs. Series
A
A Series is a one-dimensional array of values with an index.
A DataFrame is a two-dimensional array of values with both a row and column index.
2
Q
Pandas Indexing: .loc and .iloc
A
Pandas has two properties that you can use for indexing:
.loc indexes with the labels for rows and columns axis.
.iloc indexes with the integer positions for rows and columns axis.