pandas.DatetimeIndex.year
=========================

.. currentmodule:: pandas.DatetimeIndex

.. autoaccessorattribute:: year