Closed devinmatte closed 6 months ago
got it--pandas doesnt like nullable integer columns, opting instead to read them in as floats which introduces numpy-related casting chaos. fix+tests incoming!
Looks like we haven't had an occurrence of this error in 2 days (since https://github.com/transitmatters/mbta-performance/pull/7) was landed. I'll still need to write out some tests for other things but I think the floating point issue is now handled.
We're encountering this stacktrace on every 4th or so run of the process
https://app.datadoghq.com/apm/error-tracking/issue/d08f99ac-f54b-11ee-bc81-da7ad0900002?query=env%3Aprod%20service%3Ambta-performance&from_ts=1712605144474&to_ts=1712691544474&live=true