======
Struct
======

The following methods are available under the `Series.struct` attribute.

.. currentmodule:: polars
.. autosummary::
   :toctree: api/
   :template: autosummary/accessor_method.rst

    Series.struct.field
    Series.struct.rename_fields
    Series.struct.to_frame

.. autosummary::
   :toctree: api/
   :template: autosummary/accessor_attribute.rst

    Series.struct.fields
