We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Pandas Version: pandas==1.1.0
pandas==1.1.0
Data file: penguins1@csv
df.head(10).describe()
gives me:
std value for bill_length_mm is around 2
std
bill_length_mm
2
df.head(10)['bill_length_mm'].values result in: `array([39.1, 39.5, 40.3, nan, 36.7, 39.3, 38.9, 39.2, 34.1, 42. ])
df.head(10)['bill_length_mm'].values
import numpy as np x = [39.1, 39.5, 40.3, 0, 36.7, 39.3, 38.9, 39.2, 34.1, 42. ] np.std(x, ddof=1)
gives:
12.445923027240687
pd.Series(x).std() gives 12.445923027240687 (same)
pd.Series(x).std()
but why describe is giving me 2??
`
The text was updated successfully, but these errors were encountered:
When I have nan in x = [39.1, 39.5, 40.3, np.nan, 36.7, 39.3, 38.9, 39.2, 34.1, 42. ] then my series gives me 2.2357573909329043
x = [39.1, 39.5, 40.3, np.nan, 36.7, 39.3, 38.9, 39.2, 34.1, 42. ]
2.2357573909329043
Sorry, something went wrong.
No branches or pull requests
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Pandas Version:
pandas==1.1.0
Data file: penguins1@csv
df.head(10).describe()
gives me:
std
value forbill_length_mm
is around2
df.head(10)['bill_length_mm'].values
result in:
`array([39.1, 39.5, 40.3, nan, 36.7, 39.3, 38.9, 39.2, 34.1, 42. ])
gives:
12.445923027240687
pd.Series(x).std()
gives12.445923027240687
(same)but why describe is giving me
2
??`
The text was updated successfully, but these errors were encountered: