otp.Operation.str.upper#

upper()#

Converts a string to upper case.

Returns

Uppercased string

Return type

Operation

Examples

>>> data = otp.Ticks(X=['HeLlO', 'wOrLd!'])
>>> data["LENS"] = data["X"].str.upper()
>>> otp.run(data)["LENS"]
0     HELLO
1    WORLD!
Name: LENS, dtype: object