8000
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
[See PR #9355]
The text was updated successfully, but these errors were encountered:
Note that you can already write this as a single expression with:
np.select([np.isnan(x), np.isposinf(x), np.isneginf(x)], [-999, 999, -999], x)
So I'd be inclined not to add yet another way to do it
Sorry, something went wrong.
Closing - let's leave the discussion at the PR (duplicate of #9355) - there's no need to open an issue here as well. I've copied the content across
No branches or pull requests
[See PR #9355]
The text was updated successfully, but these errors were encountered: