Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

remove_nan()

remove_nan() drops NaN values from a list of numbers before you use it in calculations.

Deleting NaN values in the list.

remove_nan(list[decimal]) -> list[decimal]

Returns list with dropped decimal(Nan)

Example:

remove_nan([0.2, 0.1, Nan]) → [0.2, 0.1]