Skip to content

Commit

Permalink
DOC: Add description for Series.bin (#732)
Browse files Browse the repository at this point in the history
* Add description for kwargs

* remove link
  • Loading branch information
Zeroto521 authored Oct 10, 2022
1 parent 0acb489 commit 4863144
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dtoolkit/accessor/series/jenks_bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def jenks_bin(s: pd.Series, /, bins: int, **kwargs) -> pd.Series:
bins : int
The desired number of class. Requires ``2 <= bins < len(s)``.
**kwargs
See the documentation for :meth:`pandas.cut` for complete details on
the keyword arguments.
Returns
-------
Series
Expand All @@ -26,7 +30,6 @@ def jenks_bin(s: pd.Series, /, bins: int, **kwargs) -> pd.Series:
See Also
--------
jenkspy.jenks_breaks
dtoolkit.accessor.series.bin
dtoolkit.accessor.series.jenks_breaks
Expand Down

0 comments on commit 4863144

Please sign in to comment.