Skip to content

Commit

Permalink
docs(python): update to use ambiguous instead of use_earliest (po…
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Mar 2, 2024
1 parent a29ed68 commit 5a5abdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py-polars/polars/expr/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ def replace_time_zone(
│ 2020-07-01 01:00:00 BST ┆ 2020-07-01 01:00:00 CEST │
└─────────────────────────────┴────────────────────────────────┘
You can use `use_earliest` to deal with ambiguous datetimes:
You can use `ambiguous` to deal with ambiguous datetimes:
>>> dates = [
... "2018-10-28 01:30",
Expand Down
2 changes: 1 addition & 1 deletion py-polars/polars/series/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ def replace_time_zone(
│ 2020-07-01 01:00:00 BST ┆ 2020-07-01 01:00:00 CEST │
└─────────────────────────────┴────────────────────────────────┘
You can use `use_earliest` to deal with ambiguous datetimes:
You can use `ambiguous` to deal with ambiguous datetimes:
>>> dates = [
... "2018-10-28 01:30",
Expand Down

0 comments on commit 5a5abdc

Please sign in to comment.