I'm trying to add two numpy arrays, one of which contains NoneType values. Of course when I add them, I get this error:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'
Is there a way to define the sum of a NoneType and float to be NoneType and keep it in the new array?