NaN replacement.
replace_nan(elements, value)
replace_nan
Replace NaN in an iterable by a specific value.
elements (iterable) – Iterable over which to loop.
value (arbitrary) – Value by which to replace NaNs.
Generator with the replaced elements.
generator