Removes leading characters (whitespaces by default) from each string element.
Remove trailing "M" characters from the ProductGroupLookup target:
>>> target = catalog.get_target("ProductGroupLookup")
>>> target["ProductGroupStrip"] = target.str.rstrip(".")