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
panini uses ujson.loads for bytes loading,
but it does not support NaN, when common json module supports it:
# This code will work:json.loads(b'{"success":true,"data":[{"open":NaN,"high":NaN,"low":NaN,"close":NaN,"volume":0.0,"timestamp":1626427980000},{"open":NaN,"high":NaN,"low":NaN,"close":NaN,"volume":0.0,"timestamp":1626428040000}]}')
# When this will throw an error - ValueError: Expected object or value:ujson.loads(b'{"success":true,"data":[{"open":NaN,"high":NaN,"low":NaN,"close":NaN,"volume":0.0,"timestamp":1626427980000},{"open":NaN,"high":NaN,"low":NaN,"close":NaN,"volume":0.0,"timestamp":1626428040000}]}')
The text was updated successfully, but these errors were encountered:
panini uses ujson.loads for bytes loading,
but it does not support NaN, when common json module supports it:
The text was updated successfully, but these errors were encountered: