diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 486a6a2a02be3..e101b6924b61a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3964,7 +3964,7 @@ def take(self, indices, axis: Axis = 0, **kwargs) -> Self: ---------- indices : array-like An array of ints indicating which positions to take. - axis : {0 or 'index', 1 or 'columns', None}, default 0 + axis : {0 or 'index', 1 or 'columns'}, default 0 The axis on which to select elements. ``0`` means that we are selecting rows, ``1`` means that we are selecting columns. For `Series` this parameter is unused and defaults to 0.