Skip to content

Commit 020540a

Browse files
committed
📝 Remove axis as option for pandas groupby
1 parent 0b7f0bb commit 020540a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/workspace/pandas/group-operations.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"* **Apply** applies a function independently to each group\n",
1414
"* **Combine** combines the results in a data structure\n",
1515
"\n",
16-
"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",
16+
"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",
1717
"\n",
1818
"Each grouping key can take many forms, and the keys do not all have to be of the same type:\n",
1919
"\n",

0 commit comments

Comments
 (0)