From 6792a683d76e56a201b5d174e74b8e6fbd9ad29d Mon Sep 17 00:00:00 2001 From: Arson Date: Thu, 20 Nov 2025 06:57:42 +0530 Subject: [PATCH] Doc: Fix copy parameter type in astype docstring Fixes #63144 --- 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 940231233e308..906caf051a479 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6692,7 +6692,7 @@ def infer_objects(self, copy: bool | lib.NoDefault = lib.no_default) -> Self: Parameters ---------- - copy : bool, default False + copy : bool or lib.NoDefault, default lib.no_default Whether to make a copy for non-object or non-inferable columns or Series.