From b1ea541897e28e5e7892b5e790b82e20e8f97188 Mon Sep 17 00:00:00 2001 From: arthurlw Date: Thu, 8 May 2025 11:36:24 -0700 Subject: [PATCH] removed none from docstring --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.