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

Function fillna

xarray/core/duck_array_ops.py:428–432  ·  view source on GitHub ↗
(data, other)

Source from the content-addressed store, hash-verified

426
427
428def fillna(data, other):
429 # we need to pass data first so pint has a chance of returning the
430 # correct unit
431 # TODO: revert after https://github.com/hgrecco/pint/issues/1019 is fixed
432 return where(notnull(data), data, other)
433
434
435def logical_not(data):

Callers 3

_nan_argminmax_objectFunction · 0.90
_nan_minmax_objectFunction · 0.90
_nanmean_ddof_objectFunction · 0.90

Calls 2

notnullFunction · 0.85
whereFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…