You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the upgrade cost module many transformer values get initialized with np.nan. I don't think this is a good idea because many of these values end up getting serialized to JSON files. I don't think that NaN is valid JSON. I think you should use Python None which will get serialized to null. Alternatively, you could write a custom JSON encoder to translate them for you.
The text was updated successfully, but these errors were encountered:
In the upgrade cost module many transformer values get initialized with
np.nan
. I don't think this is a good idea because many of these values end up getting serialized to JSON files. I don't think thatNaN
is valid JSON. I think you should use PythonNone
which will get serialized tonull
. Alternatively, you could write a custom JSON encoder to translate them for you.The text was updated successfully, but these errors were encountered: