From 0e2dbe90358ad73af67bcc49c8a0c5abce34e903 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler Date: Sat, 11 Feb 2023 12:42:59 +0100 Subject: [PATCH] TYP: Fix missed copy annotations in concat --- pandas/core/reshape/concat.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index 0de995d2f773f..a36352e83ff3e 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -73,7 +73,7 @@ def concat( names=..., verify_integrity: bool = ..., sort: bool = ..., - copy: bool = ..., + copy: bool | None = ..., ) -> DataFrame: ... @@ -90,7 +90,7 @@ def concat( names=..., verify_integrity: bool = ..., sort: bool = ..., - copy: bool = ..., + copy: bool | None = ..., ) -> Series: ... @@ -107,7 +107,7 @@ def concat( names=..., verify_integrity: bool = ..., sort: bool = ..., - copy: bool = ..., + copy: bool | None = ..., ) -> DataFrame | Series: ... @@ -124,7 +124,7 @@ def concat( names=..., verify_integrity: bool = ..., sort: bool = ..., - copy: bool = ..., + copy: bool | None = ..., ) -> DataFrame: ... @@ -141,7 +141,7 @@ def concat( names=..., verify_integrity: bool = ..., sort: bool = ..., - copy: bool = ..., + copy: bool | None = ..., ) -> DataFrame | Series: ...