maxframe.liteframe.LiteFrame.str.lstrip#

LiteFrame.str.lstrip(to_strip=None)#

Remove leading characters.

Strip whitespaces (including newlines) or a set of specified characters from each string in the Series/Index from left side. Replaces any non-strings in Series with NaNs. Equivalent to str.lstrip().

Parameters:

to_strip (str or None, default None) – Specifying the set of characters to be removed. All combinations of this set of characters will be stripped. If None then whitespaces are removed.

Returns:

Series or Index with the strings being stripped from the left side.

Return type:

Series or Index of object

See also

LiteFrame.str.strip

Remove leading and trailing characters in Series/Index.

LiteFrame.str.lstrip

Remove leading characters in Series/Index.

LiteFrame.str.rstrip

Remove trailing characters in Series/Index.