nanInfFill#
- swordfish.function.nanInfFill()#
In DolphinDB, NaN and Inf values of floating-point numbers are replaced with null values. Nan and Inf values can arise in the course of data import, or during calculations involving external data sources.
This function replaces the NaN/Inf value in X with the specified Y.
Note
When X is a dictionary, only dictionary values are replaced.