Skip to content

Commit

Permalink
📝 Remove axis as option for pandas groupby
Browse files Browse the repository at this point in the history
  • Loading branch information
veit committed Nov 5, 2024
1 parent 0b7f0bb commit 020540a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/workspace/pandas/group-operations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"* **Apply** applies a function independently to each group\n",
"* **Combine** combines the results in a data structure\n",
"\n",
"In the first phase of the process, the data contained in a pandas object, be it a `Series`, a `DataFrame` or something else, is split into groups based on one or more keys. The division is done on a particular axis of an object. For example, a DataFrame can be grouped by its rows (`axis=0`) or its columns (`axis=1`). Then, a function is applied to each group to create a new value. Finally, the results of all these function applications are combined in a result object. The shape of the result object usually depends on what is done with the data.\n",
"In the first phase of the process, the data contained in a pandas object, be it a `Series`, a `DataFrame` or something else, is split into groups based on one or more keys. The division is done on a particular axis of an object. For example, a DataFrame can be grouped by its rows or its columns. Then, a function is applied to each group to create a new value. Finally, the results of all these function applications are combined in a result object. The shape of the result object usually depends on what is done with the data.\n",
"\n",
"Each grouping key can take many forms, and the keys do not all have to be of the same type:\n",
"\n",
Expand Down

0 comments on commit 020540a

Please sign in to comment.