Skip to content

Commit

Permalink
fix skipped .dt.offset in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorWinstral committed Apr 8, 2024
1 parent 526af02 commit c8f978a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/expr/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def truncate(
.. deprecated:: 0.20.19
This argument is deprecated and will be removed in the next breaking
release. Instead, chain `dt.truncate()` with `dt.offset()`.
release. Instead, chain `dt.truncate()` with `dt.offset_by()`.
use_earliest
Determine how to deal with ambiguous datetimes:
Expand Down

0 comments on commit c8f978a

Please sign in to comment.