MCPcopy Index your code
hub / github.com/pydata/xarray / multiply

Method multiply

xarray/tests/test_datatree_mapping.py:147–148  ·  view source on GitHub ↗
(ds, times)

Source from the content-addressed store, hash-verified

145 dt = create_test_datatree()
146
147 def multiply(ds, times):
148 return times * ds
149
150 expected = create_test_datatree(modify=lambda ds: 10.0 * ds)
151 result_tree = dt.map_over_datasets(multiply, 10.0)

Callers 1

test_bivariate_xufuncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected