Closed EddietheProgrammer closed 3 weeks ago
I tried this command and it worked fine for me. Could you check if maybe you have a cached file that is somehow causing the error? It'd be in $HOME/.pybaseball/cache/
Yep. Clearing cache worked. Did something funky happen with the data type conversion when the split_request
(under utils.py) function was breaking up the query which led to a faulty cache?
Thank you.
I am loading savant data for the Cleveland Guardians, but for some reason I get a value error.
Outputs:
I've tried it with other teams and they don't produce value errors. I've even loaded it for all teams and it works. I am not sure if this may be something with convert_dtypes as when I checked the issue, I found for the Guardians specifically their game on June 6th converted the datetime to datetime64[ns] instead of datetime64[us]. I'll update if this goes away.