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
C:\Users\cgeroux\Anaconda3\lib\site-packages\numpy\lib\function_base.py:3834: RuntimeWarning: Invalid value encountered in percentile
RuntimeWarning)
count 32283.000000
mean 42.672428
std 36.631259
min 4.000000
25% NaN
50% NaN
75% NaN
max 280.000000
Name: weight, dtype: float64
Not what is shown in 01-starting-with-data of
count 32283.000000
mean 42.672428
std 36.631259
min 4.000000
25% 20.000000
50% 37.000000
75% 48.000000
max 280.000000
Name: weight, dtype: float64
These NaNs can be removed and the output from the current lesson can be produced with
@cgeroux : This seems to be a known bug in pandas and has been fixed in the development version.
see: pandas-dev/pandas#13744
For this lesson the percentiles are not used for anything, so I don't think there is a need to change the DC material. (Though I admit the error messages that I get are somehow distracting).
I've run into this issue today but the fix has made it out of development and into release, after pip install -U pandas 0.19.0 shows the expected behaviour again so I think this issue can be closed (or maybe add a note for those still using 0.18.1? I expect to see this pop up in the workshop tomorrow)
When using the command
I get the output:
Not what is shown in 01-starting-with-data of
These NaNs can be removed and the output from the current lesson can be produced with
Not sure if this behavior depends on the version of pandas, python, or anaconda:
produces:
The text was updated successfully, but these errors were encountered: