otp.Operation.fillna# Operation.fillna(value)[source]# Fill nan values with value Parameters value (float, int) – value to use instead nan Examples >>> data = otp.Ticks({'A': [1, otp.nan, 2]}) >>> data['A'] = data['A'].fillna(100) >>> otp.run(data) Time A 0 2003-12-01 00:00:00.000 1.0 1 2003-12-01 00:00:00.001 100.0 2 2003-12-01 00:00:00.002 2.0