Is your feature request related to a problem? Please describe.
The use of Noneis cumbersome and unintuitive. It requires defining additional functions for
addition and substation.
Describe the solution you'd like
Use math.nan
Describe alternatives you've considered
If numpy is installed you can also use the NaN from numpy and the manipulation functions from
there. You can use a try-catch in the import statement to replace the nan and the methods from math and statistics with the ones from numpy.
Is your feature request related to a problem? Please describe. The use of
None
is cumbersome and unintuitive. It requires defining additional functions for addition and substation.Describe the solution you'd like Use math.nan
Describe alternatives you've considered If numpy is installed you can also use the NaN from numpy and the manipulation functions from there. You can use a
try-catch
in theimport
statement to replace the nan and the methods frommath
andstatistics
with the ones fromnumpy
.