Parsing of 'c' value as float instead of timedelta[ns]#402
Parsing of 'c' value as float instead of timedelta[ns]#402rubencalje merged 5 commits intogwmod:devfrom
Conversation
By default the 'c' value was read as a timedelta[ns]. So a value of -9999 days was shown as -863913600000000000 nanoseconds and therefore not caught by the NaN replacement in the following lines.
|
Nice catch! Maybe even better to confirm the dtype of the "c" variable before doing the conversion? This feels like one of those things that could change without us knowing. So maybe we could add: |
|
Thanks for the PR! It might be better to add
|
Hmm, I changed this 4 months ago: 555e0f0. Not sure why anymore... |
|
Hi @MattBrst, Your PR has shown the It turns out we never used the I kept If you are ok with the changes, we can merge this PR. |
dbrakenhoff
left a comment
There was a problem hiding this comment.
Nice! Looks a lot more robust now :).
By default the 'c' value was read as a timedelta[ns]. So a value of -9999 days was shown as -863913600000000000 nanoseconds and therefore not caught by the NaN replacement in the following lines.