From e6a95349257088d67b8095dcedc16ebdc28cdd9e Mon Sep 17 00:00:00 2001 From: manlattan Date: Wed, 17 Jan 2024 15:27:00 +0530 Subject: [PATCH] DOC: indicate that origin argument can be a string that is timestamp convertible #56877 --- 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 81ffb243cd302..3669594cfef4b 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -9454,7 +9454,7 @@ def resample( origin : Timestamp or str, default 'start_day' The timestamp on which to adjust the grouping. The timezone of origin must match the timezone of the index. - If string, must be one of the following: + If string, must be Timestamp convertible or one of the following: - 'epoch': `origin` is 1970-01-01 - 'start': `origin` is the first value of the timeseries