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
I am trying to read a file which contains data with NaN values, e.g. {"a": NaN}. I know this is not valid JSON, however I would like to know if there is a workaround that allows me to read this file anyway without getting this error:
Exception: Unexpected bytes! Value 'N' Position 170
Should I just replace all occurrences of NaN with null or "NaN" first or is there a better way to handle this?
The text was updated successfully, but these errors were encountered:
I am trying to read a file which contains data with NaN values, e.g.
{"a": NaN}
. I know this is not valid JSON, however I would like to know if there is a workaround that allows me to read this file anyway without getting this error:Should I just replace all occurrences of NaN with
null
or"NaN"
first or is there a better way to handle this?The text was updated successfully, but these errors were encountered: