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.
This is value-dependent behavior:
print(DataFrame({'a': [1, 3]}).groupby([1, 1]).mean())
results in the integer 2, whereas
print(DataFrame({'a': [1, 3]}).mean())
results in 2.0.