otp.Operation.str.trim# trim()# Removes white spaces from both sides of the string. Returns Trimmed string Return type Operation Examples >>> data = otp.Ticks(X=[" Hello", "World "]) >>> data["X"] = data["X"].str.trim() >>> otp.run(data)["X"] 0 Hello 1 World Name: X, dtype: object See also ltrim(), rtrim()