Skip to content

Commit

Permalink
Pacify linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Jan 6, 2025
1 parent 0fe814e commit b358e22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/user-guide/expressions/searching.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Searching

Polars provides expression APIs for finding data in a `Series` or the result of previous expressions.
Polars provides expression APIs for finding data in a `Series` or the result of
previous expressions.

## Searching for a value's specific index with `index_of()`

If you want to find the index of a particular value, you can use the `index_of()` API, which is similar to Python lists' `index()` method.
If you want to find the index of a particular value, you can use the `index_of()`
API, which is similar to Python lists' `index()` method.
Given a dataframe:

{{code_block('user-guide/expressions/casting', 'dfnum', [])}}
Expand Down

0 comments on commit b358e22

Please sign in to comment.