Run
import math x = [math.nan, 5, 3.2] result = math.prod(x) print('prod(x) :', result)
Output