From 3eec579fbd412e40d46ff9badb821d19ee92f1e8 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Mon, 15 Jul 2024 16:39:18 -0500 Subject: [PATCH] Remove extra space in resample freq deprecation --- pandas/_libs/tslibs/offsets.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 0afeb002a8151..991f155847ac6 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -4894,7 +4894,7 @@ cpdef to_offset(freq, bint is_period=False): f"\'{name}\' is deprecated and will be removed " f"in a future version, please use " f"\'{c_PERIOD_AND_OFFSET_DEPR_FREQSTR.get(name)}\' " - f" instead.", + f"instead.", FutureWarning, stacklevel=find_stack_level(), )