We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Surprised to not get an aggregation for "b" with the Int64 dtype
>>> df = pd.DataFrame([["a", 1]], columns=list("ab")) >>> df.sum() a a b 1 dtype: object >>> df.astype({"b": "Int64"}).sum() a a dtype: object