Closed vfigueroa closed 1 year ago
Have you found a resolution to this? I'm able to pull data from that time range.
This reads like it might have been a cache problem, maybe consider clearing that and trying again?
I think I am seeing something similar when pulling statcast data for Aug 5,8,9. For some reason only these days are affected
Can someone explain the proper way to clear the cache?
Thanks
@ksullivan1031 - there should be a folder in your user directory: ~/.pybaseball/cache
. Easiest way is to just clear that directory entirely (or you could try to search for the offending cached query and try to delete just it).
For more info about the cache see the docs. Those are reasonable queries so maybe for your use case you might consider just disabling it.
Were you able to resolve? Closing if so.
Closing due to inactivity and inability to reproduce
I have noticed that when I run
data = statcast()
to get yesterdays pitching data it returns an empty data frame attached are some pictures showing the last day I was able to get data(May 22nd). I am using a python notebook in VSCode and have restarted my kernel as well as removing my cache to try to troubleshoot this issue.