Skip to content

Commit

Permalink
feat(python): fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Royal Simpson Pinto committed Sep 22, 2023
1 parent b7f1369 commit c744b5d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -5786,6 +5786,7 @@ def join_asof(
Examples
--------
Example 1:
>>> from datetime import datetime
>>> gdp = pl.DataFrame(
... {
Expand Down Expand Up @@ -5822,9 +5823,7 @@ def join_asof(
│ 2019-05-12 00:00:00 ┆ 83.52 ┆ 4696 │
└─────────────────────┴────────────┴──────┘
Examples
--------
Example 2:
>>> from datetime import datetime
>>> sales = pl.DataFrame(
... {
Expand Down Expand Up @@ -5852,10 +5851,8 @@ def join_asof(
... ).set_sorted("expense_date")
>>> result = sales.join_asof(
... expenses,
... on={"sale_date": "expense_date"},
... by={"region": "region"},
... by_left={"sales_amount": "expense_amount"},
... by_right={"expense_amount": "sales_amount"},
... left_on="sale_date",
... right_on="expense_date",
... strategy="backward",
... )
>>> result
Expand Down

0 comments on commit c744b5d

Please sign in to comment.