Skip to content

Commit

Permalink
docs(python): Fix column name in contains_any example (#13090)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrumiller authored Dec 17, 2023
1 parent d21713a commit a49f665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/expr/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -2313,11 +2313,11 @@ def contains_any(
... }
... )
>>> df.with_columns(
... pl.col("lyrics").str.contains_any(["you", "me"]).alias("contains_all")
... pl.col("lyrics").str.contains_any(["you", "me"]).alias("contains_any")
... )
shape: (3, 2)
┌────────────────────────────────────────────────────┬──────────────┐
│ lyrics ┆ contains_all
│ lyrics ┆ contains_any
│ --- ┆ --- │
│ str ┆ bool │
╞════════════════════════════════════════════════════╪══════════════╡
Expand Down

0 comments on commit a49f665

Please sign in to comment.