Skip to content

Commit c3bb64e

Browse files
zhengruifengHyukjinKwon
authored andcommitted
[MINOR][PS][DOCS] Add DataFrame.plot.kde to API reference
### What changes were proposed in this pull request? 1, add `DataFrame.plot.kde` to API reference; 2, sort the plotting function alphabetically; ### Why are the changes needed? `DataFrame.plot.kde` is a public function in Pandas https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.plot.kde.html And it was already implemented in PS, but never exposed to users. ### Does this PR introduce _any_ user-facing change? Yes, doc-only changes ### How was this patch tested? CI ### Was this patch authored or co-authored using generative AI tooling? No Closes #47564 from zhengruifeng/add_kde_to_doc. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent bf3ad7e commit c3bb64e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

python/docs/source/reference/pyspark.pandas/frame.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,15 @@ specific plotting methods of the form ``DataFrame.plot.<kind>``.
326326
:template: autosummary/accessor_method.rst
327327

328328
DataFrame.plot.area
329-
DataFrame.plot.barh
330329
DataFrame.plot.bar
331-
DataFrame.plot.hist
330+
DataFrame.plot.barh
332331
DataFrame.plot.box
332+
DataFrame.plot.density
333+
DataFrame.plot.hist
334+
DataFrame.plot.kde
333335
DataFrame.plot.line
334336
DataFrame.plot.pie
335337
DataFrame.plot.scatter
336-
DataFrame.plot.density
337338

338339
.. autosummary::
339340
:toctree: api/

python/docs/source/reference/pyspark.pandas/series.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ specific plotting methods of the form ``Series.plot.<kind>``.
461461
Series.plot.box
462462
Series.plot.density
463463
Series.plot.hist
464+
Series.plot.kde
464465
Series.plot.line
465466
Series.plot.pie
466-
Series.plot.kde
467467

468468
.. autosummary::
469469
:toctree: api/

0 commit comments

Comments
 (0)