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
But calling len(x) for such an object raises.
len(x)
The text was updated successfully, but these errors were encountered:
yeah these are slightly different , [11] is a true scalar, while [13] is a 0-dim array (which is generally odd)
In [11]: pd.api.types.is_list_like(np.int64(1)) Out[11]: False In [13]: pd.api.types.is_list_like(np.array(1)) Out[13]: True
Sorry, something went wrong.
Fix is_list_like on zero-dim arrays pandas-dev#19011
4cc77f7
Successfully merging a pull request may close this issue.
But calling
len(x)
for such an object raises.The text was updated successfully, but these errors were encountered: