Series.str.search
Obtain the index position of a searched character in a String
danfo.Series.str.search(str, options) [source]
Parameters | Type | Description | Default |
---|---|---|---|
str | String | the string to search for | "" |
options | Object | inplace: Whether to perform the operation in-place or not. | { inplace: false } |
Returns:
**** return Series: Series of index position
Example
obtain the index position for a character
Obtain the index position for a searched word
Last updated