3 ms·
On Hacker News you can indent code samples with two spaces, like this: return xr.apply_ufunc( lambda x: (x - x[::-1]) / 2, conductance, inp
by simonw 4mo ago
On Hacker News you can indent code samples with two spaces, like this:
return xr.apply_ufunc(
lambda x: (x - x[::-1]) / 2,
conductance,
input_core_dims=[dims],
output_core_dims=[dims],
vectorize=True,
)