We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
df = DataFrame( [[1, 2, 3, 4], [1, 3, 4, 5], [2, 4, 5, 6]], columns=["a", "b", "c", "c"], ) gb = df.groupby("a") gb.agg({"c": "sum"})
raises AttributeError: 'DataFrame' object has no attribute 'name'. Did you mean: 'rename'?
AttributeError: 'DataFrame' object has no attribute 'name'. Did you mean: 'rename'?
I would expect it to aggregate both of the columns named "c".