Series.str.rjust()

Series.str.rjust(width, fillchar=' ') [source] Filling left side of strings in the Series/Index with an additional character. Equivalent to str.rjust(). Parameters: width : int Minimum width of resulting string; additional characters will be filled with fillchar fillchar : str Additional character for filling, default is whitespace Returns: filled : Series/Index of objects

Series.str.rindex()

Series.str.rindex(sub, start=0, end=None) [source] Return highest indexes in each strings where the substring is fully contained between [start:end]. This is the same as str.rfind except instead of returning -1, it raises a ValueError when the substring is not found. Equivalent to standard str.rindex. Parameters: sub : str Substring being searched start : int Left edge index end : int Right edge index Returns: found : Series/Index of objects See also index Return lowest indexe

Series.str.rfind()

Series.str.rfind(sub, start=0, end=None) [source] Return highest indexes in each strings in the Series/Index where the substring is fully contained between [start:end]. Return -1 on failure. Equivalent to standard str.rfind(). Parameters: sub : str Substring being searched start : int Left edge index end : int Right edge index Returns: found : Series/Index of integer values See also find Return lowest indexes in each strings

Series.str.replace()

Series.str.replace(pat, repl, n=-1, case=True, flags=0) [source] Replace occurrences of pattern/regex in the Series/Index with some other string. Equivalent to str.replace() or re.sub(). Parameters: pat : string Character sequence or regular expression repl : string Replacement sequence n : int, default -1 (all) Number of replacements to make from start case : boolean, default True If True, case sensitive flags : int, default 0 (no flags) re module flags, e.g. re.IGNORECASE Retu

Series.str.repeat()

Series.str.repeat(repeats) [source] Duplicate each string in the Series/Index by indicated number of times. Parameters: repeats : int or array Same value for all (int) or different value per (array) Returns: repeated : Series/Index of objects

Series.str.partition()

Series.str.partition(pat=' ', expand=True) [source] Split the string at the first 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 the string itself, followed by two empty strings. Parameters: pat : string, default whitespace String to split on. expand : bool, default True If True, return DataFrame/MultiIndex expanding dimensionality. If F

Series.str.pad()

Series.str.pad(width, side='left', fillchar=' ') [source] Pad strings in the Series/Index with an additional character to specified side. Parameters: width : int Minimum width of resulting string; additional characters will be filled with spaces side : {?left?, ?right?, ?both?}, default ?left? fillchar : str Additional character for filling, default is whitespace Returns: padded : Series/Index of objects

Series.str.normalize()

Series.str.normalize(form) [source] Return the Unicode normal form for the strings in the Series/Index. For more information on the forms, see the unicodedata.normalize(). Parameters: form : {?NFC?, ?NFKC?, ?NFD?, ?NFKD?} Unicode form Returns: normalized : Series/Index of objects

Series.str.match()

Series.str.match(pat, case=True, flags=0, na=nan, as_indexer=False) [source] Deprecated: Find groups in each string in the Series/Index using passed regular expression. If as_indexer=True, determine if each string matches a regular expression. Parameters: pat : string Character sequence or regular expression case : boolean, default True If True, case sensitive flags : int, default 0 (no flags) re module flags, e.g. re.IGNORECASE na : default NaN, fill value for missing values. as_ind

Series.str.lstrip()

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