Closed
Description
The error occurs with
df = pd.DataFrame({"A": [2, 1, 1, 1, 2, 2, 1], "B": pd.Series(np.full(7, np.nan), dtype="Int64")})
df.groupby("A").std()
while now we have df.groupby("A").var()
working correctly.
-
[ x] I have checked that this issue has not already been reported.
-
[x ] 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.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
# Your code here
Problem description
[this should explain why the current behaviour is a problem and why the expected output is a better solution]
Expected Output
Output of pd.show_versions()
[paste the output of pd.show_versions()
here leaving a blank line after the details tag]