Skip to content

dataframe.describe() bug #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tmorrell opened this issue Mar 16, 2017 · 1 comment
Closed

dataframe.describe() bug #153

tmorrell opened this issue Mar 16, 2017 · 1 comment

Comments

@tmorrell
Copy link
Contributor

Add to instructors notes that pandas .18.1 (and maybe others) has a bug where

surveys_df['weight'].describe() in lesson 01 returns

RuntimeWarning: Invalid value encountered in percentile
count 32283.000000
mean 42.672428
std 36.631259
min 4.000000
25% NaN
50% NaN
75% NaN
max 280.000000

because of the Nan values in the file. This is fixed in pandas .18.2 pandas-dev/pandas#13476

@wrightaprilm
Copy link
Contributor

Fixed with c4c7515.

zkamvar pushed a commit that referenced this issue May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants