Skip to content
Snippets Groups Projects
Commit 56ce28a0 authored by gord chung's avatar gord chung Committed by mergify[bot]
Browse files

handle infinity like nan

infinity and nan are not part of json standard. the default python
json serialiser will dump `inf` and `nan` (unquoted) and load the
them.

we've historically returned `nan` and supported ignoring it by specifying
`fill=dropna`.

i don't believe `"inf"` or `"nan"` is significantly better and since
i don't want to break existing behaviour of nan, i think it's best
to just treat infinity as we do nan for now. anything more opinionated
probably requires more discussion.

related: #1023
parent 6a410bea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment