I have a xarray.DataArray:
array([ 5.437614e+01, 2.090367e+02, 3.687384e+02, ..., 5.121467e-02,
5.116013e-02, 5.110552e-02])
Coordinates:
* time (time) datetime64[ns] 1999-12-01 2010-06-01T06:00:00 ...
I found several answers for lists, but I am not able to do it for an array.
Tried
a1.pop[0]
AttributeError: 'DataArray' object has no attribute 'pop'