@@ -1434,10 +1434,9 @@ def reindex(self, axes_to_reindex=None, new_axis=None, fill_value=nan, inplace=F
14341434
14351435 Parameters
14361436 ----------
1437- axes_to_reindex : axis ref or str or Group or Axis or dict {axis ref: axis} or \
1438- list of tuple (axis ref, axis) or list of Axis or AxisCollection
1437+ axes_to_reindex : axis ref or dict {axis ref: axis} or list of (axis ref, axis) or sequence of Axis
14391438 Axis(es) to reindex. If a single axis reference is given, the `new_axis` argument must be provided.
1440- If string or Group or Axis object, the corresponding axis is reindexed if found among existing,
1439+ If string, Group or Axis object, the corresponding axis is reindexed if found among existing,
14411440 otherwise a new axis is added.
14421441 If a list of Axis or an AxisCollection is given, existing axes are reindexed while missing ones are added.
14431442 new_axis : int, str, list/tuple/array of str, Group or Axis, optional
@@ -2856,7 +2855,7 @@ def with_total(self, *args, **kwargs):
28562855 `median` and `percentile`. Defaults to `sum`.
28572856 label : scalar value, optional
28582857 Label to use for the total. Applies only to aggregated axes, not groups. Defaults to "total".
2859- **kwargs : int or str or Group or any combination of those, optional
2858+ \ **kwargs : int or str or Group or any combination of those, optional
28602859 Axes or groups along which to compute the aggregates.
28612860
28622861 Returns
@@ -2876,7 +2875,7 @@ def with_total(self, *args, **kwargs):
28762875 F 4 5 6 7 22
28772876 total 4 6 8 10 28
28782877
2879- Using another function and label
2878+ Using another function and label
28802879
28812880 >>> arr.with_total(op=mean, label='mean')
28822881 gender\time 2013 2014 2015 2016 mean
0 commit comments