Series.str.charAt
Obtain the character at the specified index (position)
danfo.Series.str.charAt(index) [source]
Parameters
Type
Description
Default
index
int
the index at which to obtain the character
0
options
Object
inplace: Whether to perform the operation in-place or not.
{
inplace: false
}
Returns: Series (Character element)
Example
Obtain the character at index 2 of all string elements in the series.
Last updated