Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 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