From 2b252f5441dbd2032e8a6af6de40fc1b7d940ad7 Mon Sep 17 00:00:00 2001 From: MarcoGorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:53:02 +0000 Subject: [PATCH] keep both deprecated and renamed in rst --- .../source/reference/expressions/temporal.rst | 21 ++++++++++++------- .../docs/source/reference/series/temporal.rst | 21 ++++++++++++------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/py-polars/docs/source/reference/expressions/temporal.rst b/py-polars/docs/source/reference/expressions/temporal.rst index 1d706976ce91..e976604fd18a 100644 --- a/py-polars/docs/source/reference/expressions/temporal.rst +++ b/py-polars/docs/source/reference/expressions/temporal.rst @@ -16,34 +16,41 @@ The following methods are available under the `expr.dt` attribute. Expr.dt.date Expr.dt.datetime Expr.dt.day - Expr.dt.total_days + Expr.dt.days Expr.dt.dst_offset Expr.dt.epoch Expr.dt.hour - Expr.dt.total_hours + Expr.dt.hours Expr.dt.is_leap_year Expr.dt.iso_year Expr.dt.microsecond - Expr.dt.total_microseconds + Expr.dt.microseconds Expr.dt.millisecond - Expr.dt.total_milliseconds + Expr.dt.milliseconds Expr.dt.minute - Expr.dt.total_minutes + Expr.dt.minutes Expr.dt.month Expr.dt.month_start Expr.dt.month_end Expr.dt.nanosecond - Expr.dt.total_nanoseconds + Expr.dt.nanoseconds Expr.dt.offset_by Expr.dt.ordinal_day Expr.dt.quarter Expr.dt.round Expr.dt.second - Expr.dt.total_seconds + Expr.dt.seconds Expr.dt.strftime Expr.dt.time Expr.dt.timestamp Expr.dt.to_string + Expr.dt.total_days + Expr.dt.total_hours + Expr.dt.total_microseconds + Expr.dt.total_milliseconds + Expr.dt.total_minutes + Expr.dt.total_nanoseconds + Expr.dt.total_seconds Expr.dt.truncate Expr.dt.week Expr.dt.weekday diff --git a/py-polars/docs/source/reference/series/temporal.rst b/py-polars/docs/source/reference/series/temporal.rst index 9a5d58c11c8a..4467393d90fa 100644 --- a/py-polars/docs/source/reference/series/temporal.rst +++ b/py-polars/docs/source/reference/series/temporal.rst @@ -16,38 +16,45 @@ The following methods are available under the `Series.dt` attribute. Series.dt.date Series.dt.datetime Series.dt.day - Series.dt.total_days + Series.dt.days Series.dt.dst_offset Series.dt.epoch Series.dt.hour - Series.dt.total_hours + Series.dt.hours Series.dt.is_leap_year Series.dt.iso_year Series.dt.max Series.dt.mean Series.dt.median Series.dt.microsecond - Series.dt.total_microseconds + Series.dt.microseconds Series.dt.millisecond - Series.dt.total_milliseconds + Series.dt.milliseconds Series.dt.min Series.dt.minute - Series.dt.total_minutes + Series.dt.minutes Series.dt.month Series.dt.month_start Series.dt.month_end Series.dt.nanosecond - Series.dt.total_nanoseconds + Series.dt.nanoseconds Series.dt.offset_by Series.dt.ordinal_day Series.dt.quarter Series.dt.round Series.dt.second - Series.dt.total_seconds + Series.dt.seconds Series.dt.strftime Series.dt.time Series.dt.timestamp Series.dt.to_string + Series.dt.total_days + Series.dt.total_hours + Series.dt.total_microseconds + Series.dt.total_milliseconds + Series.dt.total_minutes + Series.dt.total_nanoseconds + Series.dt.total_seconds Series.dt.truncate Series.dt.week Series.dt.weekday