CLN: named parameters for GroupBy.(mean|median|var|std) by topper-123 · Pull Request #31485 · pandas-dev/pandas (original) (raw)
I did fix that is this PR, so no issue necesary.
So in short, in v1.0.0/master we'd have that grp.mean(min_count=1)
raised a AssertionError
, while now it raised a TypeError
, which is the same error code as we'd get for df.mean(min_count=1)
, so is the correct error type, IMO.