nz¶
- nz(value[, default])¶
- Parameters
- Returns
If value is
series
, then function returns aseries
with the all nan values in the input series replaced with the default value. Otherwise, returns value if value is not nan or nil. Otherwise, returns default.If default is
series
, the function will use the current value of default if needed.