polars.Series.struct.rename_fields#

Series.struct.rename_fields(names: list[str]) Series[source]#

Rename the fields of the struct.

Parameters:
names

New names in the order of the struct’s fields