In one environment, I have pandas version 0.17.0 with numpy version 1.10.1. In another environment, I have pandas version 0.18.1 with numpy version 1.10.4.
I am running this piece of code
from pandas import Series import numpy as np Series([1,2,3,4,5,np.NaN]).describe()
With pandas version 0.17.0, I get this output:
count 5.000000 mean 3.000000 std 1.581139 min 1.000000 25% 2.000000 50% 3.000000 75% 4.000000 max 5.000000 dtype: float64
with pandas version 0.18.1 I get this output:
count 5.000000 mean 3.000000 std 1.581139 min 1.000000 25% NaN 50% NaN 75% NaN max 5.000000 dtype: float64
what gives?
source share