pandas.Series.str.slice

Series.str.slice(start=None, stop=None, step=None)

Slice substrings from each element in array

Parameters:

start : int or None

stop : int or None

step : int or None

Returns:

sliced : array