pandas.Series.str.strip — pandas 1.3.5 documentation
pandas.pydata.org › pandaspandas.Series.str.strip. ¶. Remove leading and trailing characters. Strip whitespaces (including newlines) or a set of specified characters from each string in the Series/Index from left and right sides. Equivalent to str.strip (). Specifying the set of characters to be removed. All combinations of this set of characters will be stripped.
pandas.Series.str.split — pandas 1.3.5 documentation
pandas.pydata.org › pandaspandas.Series.str.split¶ Series.str. split (pat = None, n =-1, expand = False) [source] ¶ Split strings around given separator/delimiter. Splits the string in the Series/Index from the beginning, at the specified delimiter string. Equivalent to str.split(). Parameters pat str, optional. String or regular expression to split on. If not specified, split on whitespace. n int, default -1 (all)
pandas.array — pandas 1.3.5 documentation
pandas.pydata.org › pandas-docs › stablepandas.array(data, dtype=None, copy=True) [source] ¶. Create an array. Parameters. dataSequence of objects. The scalars inside data should be instances of the scalar type for dtype. It’s expected that data represents a 1-dimensional array of data. When data is an Index or Series, the underlying array will be extracted from data.