We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a380dbd commit 2acabc2Copy full SHA for 2acabc2
1 file changed
unravel/soccer/dataset/kloppy_polars.py
@@ -709,7 +709,7 @@ def load(
709
df = df.filter(~(pl.col(Column.X).is_null() & pl.col(Column.Y).is_null()))
710
711
if df[Column.BALL_OWNING_TEAM_ID].is_null().all():
712
- if self.ball_carrier_threshold is None:
+ if self._ball_carrier_threshold is None:
713
raise ValueError(
714
f"This dataset requires us to infer the {Column.BALL_OWNING_TEAM_ID}, please specifiy a ball_carrier_threshold (float) to do so."
715
)
0 commit comments