Skip to content

Commit

Permalink
keep both deprecated and renamed in rst
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 2, 2023
1 parent 842f705 commit 2b252f5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
21 changes: 14 additions & 7 deletions py-polars/docs/source/reference/expressions/temporal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 14 additions & 7 deletions py-polars/docs/source/reference/series/temporal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b252f5

Please sign in to comment.