Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In 1.13 and master
>>> arr = np.array([' ', ' ', ' '], np.unicode_) # or bytes_ >>> arr.nonzero() (array([], dtype=intp),) >>> np.count_nonzero(arr) 0 >>> np.count_nonzero(arr, axis=0) 3 # but wait, maybe ' ' is truthy after all!
Apparently in some cases ' ' is considered true, yet in others it is considered false. (cause: #9875)
' '
The text was updated successfully, but these errors were encountered:
More details on the inconsistency in #9875.
Sorry, something went wrong.
trim_zeros
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
In 1.13 and master
Apparently in some cases
' '
is considered true, yet in others it is considered false. (cause: #9875)The text was updated successfully, but these errors were encountered: