I have an Xarray, say
da = xr.DataArray([[1,2],[1,2]],coords={'x':['param1','param2'],'y':['idx','idx2']})
This is a 2D data array. As I build out my code, I would like to add another "column" or coordinate label to this 2D dataset. Similar to how in Pandas I can just do
da['param3'] = [1,2]
To add that other column. Is there an equivalent method in Xarray?