📜  groupby as_index=false - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:12.557000             🧑  作者: Mango

代码示例1
When you use as_index=False , you indicate to groupby() that you don't want to set the column ID as the index (duh!). ... Using as_index=True allows you to apply a sum over axis=1 without specifying the names of the columns, then summing the value over axis 0.