From cbbcacd49f97e709ec35a904e7996a8228606607 Mon Sep 17 00:00:00 2001 From: Arwa Date: Thu, 2 Jan 2025 15:18:22 -0600 Subject: [PATCH] docs: update bigframes.pandas.DatetimeMethods docstrings --- .../pandas/core/arrays/datetimelike.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/third_party/bigframes_vendored/pandas/core/arrays/datetimelike.py b/third_party/bigframes_vendored/pandas/core/arrays/datetimelike.py index 0d910cec92..1736a7f9ef 100644 --- a/third_party/bigframes_vendored/pandas/core/arrays/datetimelike.py +++ b/third_party/bigframes_vendored/pandas/core/arrays/datetimelike.py @@ -33,7 +33,8 @@ def strftime(self, date_format: str): Date format string (e.g. "%Y-%m-%d"). Returns: - bigframes.series.Series: Series of formatted strings. + bigframes.pandas.Series: + Series of formatted strings. """ raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE) @@ -64,7 +65,8 @@ def normalize(self): dtype: timestamp[us, tz=UTC][pyarrow] Returns: - bigframes.series.Series of the same dtype as the data. + bigframes.pandas.Series: + Series of the same dtype as the data. """ raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE) @@ -95,5 +97,9 @@ def floor(self, freq: str): Args: freq (str): Frequency string (e.g. "D", "min", "s"). + + Returns: + bigframes.pandas.Series: + Series of the same dtype as the data. """ raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)