Defined in awkward.operations.str.akstr_upper on line 12.

ak.str.upper(array, *, highlevel=True, behavior=None)#

Replaces any string-valued data with an uppercase version (correctly transforming Unicode characters).

Replaces any bytestring-valued data with am uppercase version (transforming ASCII characters only).

Note: this function does not raise an error if the array does not contain any string or bytestring data.

Requires the pyarrow library and calls pyarrow.compute.utf8_upper or pyarrow.compute.ascii_upper on strings and bytestrings, respectively.