Skip to content

Commit

Permalink
ci: Fix Python docs build (#18605)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Sep 8, 2024
1 parent 6037ca5 commit 98788b2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions py-polars/docs/source/reference/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Config options
Config.set_tbl_cell_alignment
Config.set_tbl_cell_numeric_alignment
Config.set_tbl_cols
Config.set_tbl_column_dtype_inline
Config.set_tbl_column_data_type_inline
Config.set_tbl_dataframe_shape_below
Config.set_tbl_formatting
Config.set_tbl_hide_column_dtypes
Config.set_tbl_hide_column_data_types
Config.set_tbl_hide_column_names
Config.set_tbl_hide_dataframe_shape
Config.set_tbl_hide_dtype_separator
Expand Down
22 changes: 11 additions & 11 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -7114,13 +7114,13 @@ def join_where(
Examples
--------
>>> east = pl.DataFrame(
... {
... "id": [100, 101, 102],
... "dur": [120, 140, 160],
... "rev": [12, 14, 16],
... "cores": [2, 8, 4],
... }
...)
... {
... "id": [100, 101, 102],
... "dur": [120, 140, 160],
... "rev": [12, 14, 16],
... "cores": [2, 8, 4],
... }
... )
>>> west = pl.DataFrame(
... {
... "t_id": [404, 498, 676, 742],
Expand All @@ -7130,10 +7130,10 @@ def join_where(
... }
... )
>>> east.join_where(
>>> west,
>>> pl.col("dur") < pl.col("time"),
>>> pl.col("rev") < pl.col("cost"),
>>> )
... west,
... pl.col("dur") < pl.col("time"),
... pl.col("rev") < pl.col("cost"),
... )
shape: (5, 8)
┌─────┬─────┬─────┬───────┬──────┬──────┬──────┬─────────────┐
│ id ┆ dur ┆ rev ┆ cores ┆ t_id ┆ time ┆ cost ┆ cores_right │
Expand Down
22 changes: 11 additions & 11 deletions py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4590,13 +4590,13 @@ def join_where(
Examples
--------
>>> east = pl.LazyFrame(
... {
... "id": [100, 101, 102],
... "dur": [120, 140, 160],
... "rev": [12, 14, 16],
... "cores": [2, 8, 4],
... }
...)
... {
... "id": [100, 101, 102],
... "dur": [120, 140, 160],
... "rev": [12, 14, 16],
... "cores": [2, 8, 4],
... }
... )
>>> west = pl.LazyFrame(
... {
... "t_id": [404, 498, 676, 742],
Expand All @@ -4606,10 +4606,10 @@ def join_where(
... }
... )
>>> east.join_where(
>>> west,
>>> pl.col("dur") < pl.col("time"),
>>> pl.col("rev") < pl.col("cost"),
>>> ).collect()
... west,
... pl.col("dur") < pl.col("time"),
... pl.col("rev") < pl.col("cost"),
... ).collect()
shape: (5, 8)
┌─────┬─────┬─────┬───────┬──────┬──────┬──────┬─────────────┐
│ id ┆ dur ┆ rev ┆ cores ┆ t_id ┆ time ┆ cost ┆ cores_right │
Expand Down

0 comments on commit 98788b2

Please sign in to comment.