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
Here is a reproducible example (the actual issue is in the quantile method):
In [24]: s = pd.Series(range(5))
In [25]: s.quantile(0.5)
Out[25]: 2.0
In [26]: s[0] = np.nan
In [27]: s.quantile(0.5)
Out[27]: nan
In [28]: pd.__version__
Out[28]: '0.18.1+20.gaf7bdd3'
Code Sample, a copy-pastable example if possible
des_table = df_final_S1415.describe(percentiles=[.05, .25, .5, .75, .95 ]).T
Expected Output
In version 18.0 describe function will return percentiles when columns contain nan.
output of
pd.show_versions()
But in version 18.1 describe function will not return percentiles when columns contain nan.
The text was updated successfully, but these errors were encountered: