We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 885e299 commit 3444da4Copy full SHA for 3444da4
bisect/37415.py
@@ -0,0 +1,6 @@
1
+import pandas as pd
2
+print(pd.__version__)
3
+df = pd.DataFrame({'a': [1, 1, 1, 2, 2], 'b': [1, 2, 3, 4, 5]})
4
+df['b'] = df['b'].astype(pd.Int32Dtype())
5
+res = df.groupby('a').agg('std')
6
+print(res)
0 commit comments