Series.str.swapcase()

Series.str.swapcase() [source] Convert strings in the Series/Index to be swapcased. Equivalent to str.swapcase(). Returns: converted : Series/Index of objects

Series.str.translate()

Series.str.translate(table, deletechars=None) [source] Map all characters in the string through the given mapping table. Equivalent to standard str.translate(). Note that the optional argument deletechars is only valid if you are using python 2. For python 3, character deletion should be specified via the table argument. Parameters: table : dict (python 3), str or None (python 2) In python 3, table is a mapping of Unicode ordinals to Unicode ordinals, strings, or None. Unmapped characters

Series.str.split()

Series.str.split(pat=None, n=-1, expand=False) [source] Split each string (a la re.split) in the Series/Index by given pattern, propagating NA values. Equivalent to str.split(). Parameters: pat : string, default None String or regular expression to split on. If None, splits on whitespace n : int, default -1 (all) None, 0 and -1 will be interpreted as return all splits expand : bool, default False If True, return DataFrame/MultiIndex expanding dimensionality. If False, return Series/In

Series.str.strip()

Series.str.strip(to_strip=None) [source] Strip whitespace (including newlines) from each string in the Series/Index from left and right sides. Equivalent to str.strip(). Returns: stripped : Series/Index of objects

Series.str.startswith()

Series.str.startswith(pat, na=nan) [source] Return boolean Series/array indicating whether each string in the Series/Index starts with passed pattern. Equivalent to str.startswith(). Parameters: pat : string Character sequence na : bool, default NaN Returns: startswith : Series/array of boolean values

Series.str.slice_replace()

Series.str.slice_replace(start=None, stop=None, repl=None) [source] Replace a slice of each string in the Series/Index with another string. Parameters: start : int or None stop : int or None repl : str or None String for replacement Returns: replaced : Series/Index of objects

Series.str.rstrip()

Series.str.rstrip(to_strip=None) [source] Strip whitespace (including newlines) from each string in the Series/Index from right side. Equivalent to str.rstrip(). Returns: stripped : Series/Index of objects

Series.str.slice()

Series.str.slice(start=None, stop=None, step=None) [source] Slice substrings from each element in the Series/Index Parameters: start : int or None stop : int or None step : int or None Returns: sliced : Series/Index of objects

Series.str.rsplit()

Series.str.rsplit(pat=None, n=-1, expand=False) [source] Split each string in the Series/Index by the given delimiter string, starting at the end of the string and working to the front. Equivalent to str.rsplit(). New in version 0.16.2. Parameters: pat : string, default None Separator to split on. If None, splits on whitespace n : int, default -1 (all) None, 0 and -1 will be interpreted as return all splits expand : bool, default False If True, return DataFrame/MultiIndex expanding

Series.str.rpartition()

Series.str.rpartition(pat=' ', expand=True) [source] Split the string at the last occurrence of sep, and return 3 elements containing the part before the separator, the separator itself, and the part after the separator. If the separator is not found, return 3 elements containing two empty strings, followed by the string itself. Parameters: pat : string, default whitespace String to split on. expand : bool, default True If True, return DataFrame/MultiIndex expanding dimensionality. If F