Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Aug 14, 2023
1 parent a493290 commit 3fe8e3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/expr/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3320,7 +3320,7 @@ def cut(
-------
Expr
Expression of data type :class:`Categorical` if ``include_breaks`` is set to
``False`` (default), otherwise an expression of data type :class:`Struct.
``False`` (default), otherwise an expression of data type :class:`Struct`.
See Also
--------
Expand Down Expand Up @@ -3407,7 +3407,7 @@ def qcut(
-------
Expr
Expression of data type :class:`Categorical` if ``include_breaks`` is set to
``False`` (default), otherwise an expression of data type :class:`Struct.
``False`` (default), otherwise an expression of data type :class:`Struct`.
See Also
--------
Expand Down
16 changes: 8 additions & 8 deletions py-polars/polars/series/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1708,14 +1708,14 @@ def cut(
``True``.
.. deprecated:: 0.19.0
This parameter will be removed. Use `Series.struct.rename_fields` to
This parameter will be removed. Use ``Series.struct.rename_fields`` to
rename the field instead.
category_label
Name of the category column. Only used if ``include_breaks`` is set to
``True``.
.. deprecated:: 0.19.0
This parameter will be removed. Use `Series.struct.rename_fields` to
This parameter will be removed. Use ``Series.struct.rename_fields`` to
rename the field instead.
left_closed
Set the intervals to be left-closed instead of right-closed.
Expand All @@ -1729,14 +1729,14 @@ def cut(
.. deprecated:: 0.19.0
This parameter will be removed. The same behavior can be achieved by
setting ``include_breaks=True`, unnesting the resulting struct Series,
setting ``include_breaks=True``, unnesting the resulting struct Series,
and adding the result to the original Series.
Returns
-------
Series
Series of data type :class:`Categorical` if ``include_breaks`` is set to
``False`` (default), otherwise a Series of data type :class:`Struct.
``False`` (default), otherwise a Series of data type :class:`Struct`.
See Also
--------
Expand Down Expand Up @@ -1916,29 +1916,29 @@ def qcut(
``True``.
.. deprecated:: 0.19.0
This parameter will be removed. Use `Series.struct.rename_fields` to
This parameter will be removed. Use ``Series.struct.rename_fields`` to
rename the field instead.
category_label
Name of the category column. Only used if ``include_breaks`` is set to
``True``.
.. deprecated:: 0.19.0
This parameter will be removed. Use `Series.struct.rename_fields` to
This parameter will be removed. Use ``Series.struct.rename_fields`` to
rename the field instead.
as_series
If set to ``False``, return a DataFrame containing the original values,
the breakpoints, and the categories.
.. deprecated:: 0.19.0
This parameter will be removed. The same behavior can be achieved by
setting ``include_breaks=True`, unnesting the resulting struct Series,
setting ``include_breaks=True``, unnesting the resulting struct Series,
and adding the result to the original Series.
Returns
-------
Series
Series of data type :class:`Categorical` if ``include_breaks`` is set to
``False`` (default), otherwise a Series of data type :class:`Struct.
``False`` (default), otherwise a Series of data type :class:`Struct`.
Warnings
--------
Expand Down

0 comments on commit 3fe8e3f

Please sign in to comment.