🍾 Xarray is now 10 years old! 🎉

xarray.DataArray.dt.year

xarray.DataArray.dt.year#

DataArray.dt.year#

The year of the datetime