MCPcopy
hub / github.com/pydata/xarray / var

Method var

xarray/computation/weighted.py:499–508  ·  view source on GitHub ↗
(
        self,
        dim: Dims = None,
        *,
        skipna: bool | None = None,
        keep_attrs: bool | None = None,
    )

Source from the content-addressed store, hash-verified

497 )
498
499 def var(
500 self,
501 dim: Dims = None,
502 *,
503 skipna: bool | None = None,
504 keep_attrs: bool | None = None,
505 ) -> T_Xarray:
506 return self._implementation(
507 self._weighted_var, dim=dim, skipna=skipna, keep_attrs=keep_attrs
508 )
509
510 def std(
511 self,

Callers 8

test_weighted_var_no_nanFunction · 0.45
test_weighted_var_nanFunction · 0.45
test_weighted_var_boolFunction · 0.45
test_reduce_scalarsMethod · 0.45
test_varMethod · 0.45
test_reduce_funcsMethod · 0.45

Calls 1

_implementationMethod · 0.95

Tested by 8

test_weighted_var_no_nanFunction · 0.36
test_weighted_var_nanFunction · 0.36
test_weighted_var_boolFunction · 0.36
test_reduce_scalarsMethod · 0.36
test_varMethod · 0.36
test_reduce_funcsMethod · 0.36