Tyler Burch

Results 52 comments of Tyler Burch

You're probably hitting request limits. Try putting a sleep of a few seconds before calling a bunch in a loop.

That is very strange. Usually the cooldown is like an hour or two. I would try the following: In the `get_soup` function, add a URL printout after it's built, after...

Yeah, that one just kind of trips randomly sometimes when scraping takes longer than usual. Just manually reran.

Is it the same error shown in #337? Can you write the error, pybaseball version number, python version, and OS?

It's last then first for the first one: ``` In [11]: playerid_lookup("alonso","pete") Out[11]: name_last name_first key_mlbam key_retro key_bbref key_fangraphs mlb_played_first mlb_played_last 0 alonso pete 624413 alonp001 alonspe01 19251 2019.0 2023.0...

Just to confirm, 3.10 test eclipsed 30 sec but still passed here: ``` Run python -m scripts.statcast_timing This is a large query, it may take a moment to complete 0%|...

@imzackadams is right here, particularly for the `team_batting`, `team_pitching`, etc functions. Otherwise, I think I'd just make a dictionary and merge it to the DF. Did you figure out how...

Thanks! Nice add, definitely useful. Overall lgtm, just one comment and one clarification.