Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-40559][PYTHON][DOCS][FOLLOW-UP] Fix the docstring and document both applyInArrows #44139

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python/docs/source/reference/pyspark.sql/grouping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Grouping

GroupedData.agg
GroupedData.apply
GroupedData.applyInArrow
GroupedData.applyInPandas
GroupedData.applyInPandasWithState
GroupedData.avg
Expand All @@ -36,4 +37,5 @@ Grouping
GroupedData.min
GroupedData.pivot
GroupedData.sum
PandasCogroupedOps.applyInArrow
PandasCogroupedOps.applyInPandas
5 changes: 2 additions & 3 deletions python/pyspark/sql/pandas/group_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ def applyInArrow(
>>> df.groupby("id").applyInArrow(
... normalize, schema="id long, v double").show() # doctest: +SKIP
+---+-------------------+
+---+-------------------+
| id| v|
+---+-------------------+
| 1|-0.7071067811865475|
Expand Down Expand Up @@ -467,7 +466,7 @@ def applyInArrow(
into memory, so the user should be aware of the potential OOM risk if data is skewed
and certain groups are too large to fit in memory.

This API is experimental.
This API is unstable, and for developers.

See Also
--------
Expand Down Expand Up @@ -707,7 +706,7 @@ def applyInArrow(
into memory, so the user should be aware of the potential OOM risk if data is skewed
and certain groups are too large to fit in memory.

This API is experimental.
This API is unstable, and for developers.

See Also
--------
Expand Down