expand_dims() modifies numpy.ndarray.flags to write only, upon manually reverting this flag back, attempting to set a single inner value using .loc will instead set all of the inner array values · Issue #
python - How to load multiple csv-files into xarray Dataset and concat along multiple dimensions? - Stack Overflow
Reshaping and reorganizing data
xarray.DataArray.expand_dims() can only expand dimension for a point coordinate · Issue #2710 · pydata/xarray · GitHub