Series.str.search
Obtain the index position of a searched character in a String
Last updated
Was this helpful?
Obtain the index position of a searched character in a String
Last updated
Was this helpful?
danfo.Series.str.search(str, options) []
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