Skip to content

statsbombpy 1.8.0

Compare
Choose a tag to compare
@scotty779 scotty779 released this 24 Mar 14:34
· 31 commits to master since this release
0a97792

In this release, we have added a new feature that allows users to specify the number of cores used by the package for processing data.

  • Previously, we have been setting the number of cores to 4, however, we recognize that some users may want more control over the number of cores used, particularly when pulling data from large competitions.
  • To address this, we have added support for an environment variable, SB_CORES, that allows users to specify the number of cores used by statsbombpy for processing data.
  • If the environment variable is not set we will try to detect the number of cores in the users system and use 2 less than this number.
  • If we cannot detect the number we will use 4 cores as we have been doing previously.