mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #458] [FBref] Optimizing read_team_match_stats when data has been previously cached #83
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kalaweksh on GitHub (Jan 5, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/458
The method currently reads all cached html match log files whenever loading data, which is time and memory-intensive. A less expensive alternative would be to store an extra cache of previously loaded data (for instance, by calling .to_csv or .to_parquet on the returned Dataframes), increasing the performance of subsequent calls to the method.