From b153a983625536cd4159da3d2ce21b960e7b1e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20W=C3=B6rtwein?= Date: Mon, 1 Nov 2021 18:37:48 -0400 Subject: [PATCH] CLN: missing f for f-string --- pandas/core/dtypes/cast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index d8c58d1eaf4c7..c0ac9098ec7fc 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -1590,7 +1590,7 @@ def try_timedelta(v: np.ndarray) -> np.ndarray: warnings.warn( f"Inferring {value.dtype} from data containing strings is deprecated " "and will be removed in a future version. To retain the old behavior " - "explicitly pass Series(data, dtype={value.dtype})", + f"explicitly pass Series(data, dtype={value.dtype})", FutureWarning, stacklevel=find_stack_level(), )