Open MKlaasman opened 3 years ago
You might have closed this by accident.
solution to this issue could be:
Anyone working on a fix?
I didn’t start yet. And afaik no one else started
You might have closed this by accident.
solution to this issue could be:
- Check if teamleft attribute is set
- If not, extract direction of play from first pass? First pass is always on own half, right?
The problem with the 2. is that there is no guarantee that the first pass is into the own half. Remember the old way of kickoffs? The first pass used to be into the opponents half. Alternatively, one could get all passes in the first half of the home team goalkeeper, calculate the mean and see in which half of the pitch they fall into.
That sounds like a great solution @schmidtfx . Similar to https://github.com/PySport/kloppy/blob/master/kloppy/domain/services/__init__.py#L16
While using events data for the 2019-2020 Bundesliga Season. I ran into an error while loading in the Sportec data. This problem does not occur for 2020-2021 season's data.
Example code:
Error message: