https://github.com/apache/spark
Revision 8f22e314a20d49319c03308545b861f0982946de authored by Deepyaman Datta on 03 February 2023, 06:50:32 UTC, committed by Hyukjin Kwon on 03 February 2023, 06:51:29 UTC
### What changes were proposed in this pull request?

Update the docstring for the `.groupby()` method.

### Why are the changes needed?

The `.groupby()` method accept a list of columns (or a single column), and a column is defined by a `Series` or name (`Label`). It's a bit confusing to say "using a Series of columns", because `Series` (capitalized) is a specific object that isn't actually used/reasonable to use here.

### Does this PR introduce _any_ user-facing change?

Yes (documentation)

### How was this patch tested?

N/A

Closes #38625 from deepyaman/patch-3.

Authored-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 71154dc1b35c7227ef9033fe5abc2a8b3f2d0990)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent e973496
History
Tip revision: 8f22e314a20d49319c03308545b861f0982946de authored by Deepyaman Datta on 03 February 2023, 06:50:32 UTC
[MINOR][DOCS][PYTHON][PS] Fix the `.groupby()` method docstring
Tip revision: 8f22e31

README.md

back to top