You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...outputs NaN, where would expect it to handle NaN values and return 2.0
Versions
pandas: 0.18.1
numpy: 1.11.0
In NumPy 1.10.1, the behavior of numpy.median and numpy.percentile are changed to not handle NaN...
Median warns and returns nan when invalid values are encountered... Similar to mean, median and percentile now emits a Runtime warning and returns NaN in slices where a NaN is present. To compute the median or percentile while ignoring invalid values use the new nanmedian or nanpercentile functions.
Since pandas.DataFrame uses numpy.percentile for .describe and .quantile, neither handle NaN values when paired with numpy >= 1.10.0.
The text was updated successfully, but these errors were encountered:
Code
...outputs NaN, where would expect it to handle NaN values and return 2.0
Versions
pandas: 0.18.1
numpy: 1.11.0
In NumPy 1.10.1, the behavior of numpy.median and numpy.percentile are changed to not handle NaN...
Since pandas.DataFrame uses numpy.percentile for .describe and .quantile, neither handle NaN values when paired with numpy >= 1.10.0.
The text was updated successfully, but these errors were encountered: