linopy
linopy copied to clipboard
transpose method for variables
Is it planned to have the transpose method (available for xarray) for variables ? Since it does not exist for now, how can I formulate an equation such as : Var[a,b,t]+Var[b,a,t] == 0 for all a,b ,t Thanks in advance
hey @robingirard, whereas linopy does not explicitly allow for tranposing the variables, you could do something like,
x + x.loc[x.coords["b"], x.coords["a"]] == 0
Hope that helps!