You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
repeated warning when running pybaseball.statcast() #467
The following warning is raised once for each day in the query:
FutureWarning: errors='ignore' is deprecated and will raise in a future version. Use to_datetime without passing errors and catch exceptions explicitly instead
data_copy[column] = data_copy[column].apply(pd.to_datetime, errors='ignore', format=date_format)
Activity
mattdennewitz commentedon Feb 21, 2025
The warning is worthwhile to keep, and can be suppressed in your implementation like so: