Last active
October 6, 2016 23:14
-
-
Save shanealynn/2c61235a30cbe1dff15d81b90c216cfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ix indexing works just the same as .loc when passed strings | |
data.ix[['Andrade']] == data.loc[['Andrade']] | |
# ix indexing works the same as .iloc when passed integers. | |
data.ix[[33]] == data.iloc[[33]] | |
# ix only works in both modes when the index of the DataFrame is NOT an integer itself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment