Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Numpy has no method 'isfinite' #209

Open
kevinhu opened this issue Dec 20, 2020 · 0 comments · May be fixed by #213
Open

Numpy has no method 'isfinite' #209

kevinhu opened this issue Dec 20, 2020 · 0 comments · May be fixed by #213

Comments

@kevinhu
Copy link

kevinhu commented Dec 20, 2020

Script used:

import numpy as np

arr: np.ndarray[np.float32] = np.array([0, 1, np.inf], dtype=np.float32)

print(np.isfinite(arr))
tadeu added a commit to tadeu/data-science-types that referenced this issue Dec 22, 2020
…ove `isnan` support in NumPy stubs

also add support for scalar + array

fixes wearepal#209
@tadeu tadeu linked a pull request Dec 22, 2020 that will close this issue
tadeu added a commit to tadeu/data-science-types that referenced this issue Dec 22, 2020
…ove `isnan` support in NumPy stubs

also add support for scalar + array

fixes wearepal#209
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant