-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
API DesignCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functions
Milestone
Description
Using NumPy's nanmin on a pandas Series worked as expected, now however the Series is returned with each element set to the minimum, rather than just getting the minimum. Not sure if this is a Numpy of Pandas issue.
np.nanmin(pds.Series([1,2,3,4]))
Out[14]:
0 1
1 1
2 1
3 1
dtype: int64
np.min(pds.Series([1,2,3,4]))
Out[15]: 1
Metadata
Metadata
Assignees
Labels
API DesignCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functions