You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENH: added margins_name parameter for crosstab (pandas-dev#16489)
* ENH pandas-dev#15972 added margins_name parameter for crosstab
* ENH 15972 minor changes as suggested by reviewers
* ENH 15972 correction in whatsnew
* ENH 15972 style changes in whatsnew
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
-1
Original file line number
Diff line number
Diff line change
@@ -515,7 +515,6 @@ Other Enhancements
515
515
- Options added to allow one to turn on/off using ``bottleneck`` and ``numexpr``, see :ref:`here <basics.accelerate>` (:issue:`16157`)
516
516
- ``DataFrame.style.bar()`` now accepts two more options to further customize the bar chart. Bar alignment is set with ``align='left'|'mid'|'zero'``, the default is "left", which is backward compatible; You can now pass a list of ``color=[color_negative, color_positive]``. (:issue:`14757`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.21.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ Other Enhancements
37
37
- :func:`api.types.infer_dtype` now infers decimals. (:issue: `15690`)
38
38
- :func:`read_feather` has gained the ``nthreads`` parameter for multi-threaded operations (:issue:`16359`)
39
39
- :func:`DataFrame.clip()` and :func: `Series.cip()` have gained an inplace argument. (:issue: `15388`)
40
+
- :func:`crosstab` has gained a ``margins_name`` parameter to define the name of the row / column that will contain the totals when margins=True. (:issue:`15972`)
0 commit comments