Comments (2)
I'm getting the same issue but specifically for 2022 rather than 2021, years before 2021 work fine but 2022 pulls the pitching data.
For a workaround, I found that doing team_batting(2022, ind=1) works properly and returns team stats. Not sure why that would fix it though
from pybaseball.
This seems like the the same caching issue mentioned here #267
can you update to v2.2.3 and see if the issue still persists?
from pybaseball.
Related Issues (20)
- statcast_pitcher does not apply sanitize_input
- retrosheet.py returns an error for all functions HOT 1
- team_game_logs not pulling HOT 2
- Statcast Ball Counts > 3
- How to Get a Pitcher's Season-to-Date ERA heading into a specific date/game_pk?
- Minor League Statcast data
- Future Warnings in team_game_logs
- pitching_stats_range - occasionally not working
- Convert dtypes issue? HOT 2
- pitching_stats and batting_stats not returning all data HOT 3
- Imports HOT 6
- Missing cLI data interferes with streak calculation
- Shota Imanaga key_fangraphs value -1 HOT 2
- Cache Generates Massive Amounts of Empty Files HOT 1
- I couldn't collect players season stats
- Pip install pybaseball differs from code on master branch HOT 1
- Github Token
- mypy errors caused by Python type hints
- Does a session need to be closed (or a cache cleared) for bref team stats? HOT 2
- statcast_pitcher_spin not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybaseball.