For users
apply_ufunc
For developers/contributors
Community
DataArray.dt.second
The seconds of the datetime