Skip to content

Commit

Permalink
docs(python): Add missing Series methods to API reference (#18312)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Harbeck <henry.harbeck@canstar.com.au>
  • Loading branch information
henryharbeck and Henry Harbeck authored Aug 22, 2024
1 parent a601ccf commit 9ceaad4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/docs/source/reference/series/aggregation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Aggregation

Series.arg_max
Series.arg_min
Series.count
Series.implode
Series.max
Series.mean
Expand Down
1 change: 1 addition & 0 deletions py-polars/docs/source/reference/series/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This page gives an overview of all public Series methods.
export
list
modify_select
operators
miscellaneous
plot
string
Expand Down
31 changes: 31 additions & 0 deletions py-polars/docs/source/reference/series/operators.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
=========
Operators
=========

Polars supports native Python operators for all common operations;
many of these operators are also available as methods on the :class:`Series`
class.

Comparison
~~~~~~~~~~

.. currentmodule:: polars
.. autosummary::
:toctree: api/

Series.eq
Series.eq_missing
Series.ge
Series.gt
Series.le
Series.lt
Series.ne
Series.ne_missing

Numeric
~~~~~~~

.. autosummary::
:toctree: api/

Series.pow

0 comments on commit 9ceaad4

Please sign in to comment.