We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code below works correctly.
df=pd.DataFrame([[1,2],[3,4]]) df.iloc[np.array([0])]
But the code below raises an error.
df.iloc[np.array(0)]
TypeError: object of type 'numpy.int64' has no len()
The text was updated successfully, but these errors were encountered:
try on master please
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
The code below works correctly.
But the code below raises an error.
The text was updated successfully, but these errors were encountered: