Skip to content

v1.5.0: socceraction 🀝 kloppy

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Dec 20:23
· 137 commits to refs/heads/master since this release

✨ Highlights

Loading data with kloppy

This release adds support for loading data using kloppy.

from kloppy import statsbomb
from socceraction.spadl.kloppy import convert_to_actions
import socceraction.atomic.spadl as atomicspadl

dataset = statsbomb.load_open_data(match_id=8657)
spadl_actions = convert_to_actions(dataset, game_id=8657)
atomic_spadl_actions = atomicspadl.convert_to_atomic(spadl_actions)

This will also work for other data sources, but the resulting SPADL representation will be incomplete / contain errors. A bit more work is required on the kloppy-side to implement the full data model and resolve bugs (see #643 and #644).

Pandas 2.0 support

This release adds support for Pandas v2. Pandas < v2 should be supported for the foreseeable future.

Changes

πŸ’₯ Breaking Changes

πŸš€ Features

πŸͺ² Fixes

🚨 Testing

πŸ‘· Continuous Integration

πŸ“¦ Dependencies