Skip to content

Commit 7fb477e

Browse files
committed
Normalize parameter of value_counts edited.
1 parent 896b17e commit 7fb477e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Other enhancements
3838
- :meth:`Index.get_loc` now accepts also subclasses of ``tuple`` as keys (:issue:`57922`)
3939
- :meth:`Styler.set_tooltips` provides alternative method to storing tooltips by using title attribute of td elements. (:issue:`56981`)
4040
- Added missing parameter ``weights`` in :meth:`DataFrame.plot.kde` for the estimation of the PDF (:issue:`59337`)
41+
- Added a new ``keep`` option to the ``normalize`` parameter of the value_counts function. This new option allows both normalized and unnormalized values to be displayed in a tuple format. (contributed by: keramatfar)
4142
- Allow dictionaries to be passed to :meth:`pandas.Series.str.replace` via ``pat`` parameter (:issue:`51748`)
4243
- Support passing a :class:`Series` input to :func:`json_normalize` that retains the :class:`Series` :class:`Index` (:issue:`51452`)
4344
- Support reading value labels from Stata 108-format (Stata 6) and earlier files (:issue:`58154`)

0 commit comments

Comments
 (0)