polars.internals.series.StructNameSpace.rename_fields

StructNameSpace.rename_fields(names: List[str]) polars.internals.series.Series

Rename the fields of the struct

Parameters
names

New names in the order of the struct’s fields