diff --git a/docs/changelog.md b/docs/changelog.md index f02932ea..5ad74fad 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -3,6 +3,17 @@ Find out all changes between different kloppy versions +## 3.11.0 (2023-06-05) + +Pull requests merged: + +- Fix datatype of SkillCorner metadata.periods ([#189](https://github.com/PySport/kloppy/pull/189)) +- Fix inputs of kloppy.helpers.transform ([#186](https://github.com/PySport/kloppy/pull/186)) +- Refactor pathlib tests ([#193](https://github.com/PySport/kloppy/pull/193)) +- StatsPerform deserializer ([#191](https://github.com/PySport/kloppy/pull/191)) +- Allow chaining of operators on a Dataset (filter + map) ([#183](https://github.com/PySport/kloppy/pull/183)) +- Opta remove deleted events ([#182](https://github.com/PySport/kloppy/pull/182)) + ## 3.10.0 (2023-04-13) Pull requests merged: diff --git a/docs/getting-started/statsperform.ipynb b/docs/getting-started/statsperform.ipynb new file mode 100644 index 00000000..1b207cf0 --- /dev/null +++ b/docs/getting-started/statsperform.ipynb @@ -0,0 +1,291 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "a93fc613", + "metadata": {}, + "source": [ + "# StatsPerform\n", + "\n", + "## Load local files" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "e803a78c", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + " | period_id | \n", + "timestamp | \n", + "frame_id | \n", + "ball_state | \n", + "ball_owning_team_id | \n", + "ball_x | \n", + "ball_y | \n", + "ball_z | \n", + "a2s2c6anax9wnlsw1s6vunl5h_x | \n", + "a2s2c6anax9wnlsw1s6vunl5h_y | \n", + "... | \n", + "6wfwy94p5bm0zv3aku0urfq39_d | \n", + "6wfwy94p5bm0zv3aku0urfq39_s | \n", + "6ekdnbnk56xlxforb5owt3dn9_x | \n", + "6ekdnbnk56xlxforb5owt3dn9_y | \n", + "6ekdnbnk56xlxforb5owt3dn9_d | \n", + "6ekdnbnk56xlxforb5owt3dn9_s | \n", + "ct32113pfx5q9avf2c0x208ru_x | \n", + "ct32113pfx5q9avf2c0x208ru_y | \n", + "ct32113pfx5q9avf2c0x208ru_d | \n", + "ct32113pfx5q9avf2c0x208ru_s | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", + "1 | \n", + "0.0 | \n", + "1598184000000 | \n", + "alive | \n", + "None | \n", + "52.350 | \n", + "33.250 | \n", + "0.0 | \n", + "52.803 | \n", + "23.617 | \n", + "... | \n", + "None | \n", + "None | \n", + "5.268 | \n", + "33.556 | \n", + "None | \n", + "None | \n", + "NaN | \n", + "NaN | \n", + "None | \n", + "None | \n", + "
1 | \n", + "1 | \n", + "0.1 | \n", + "1598184000100 | \n", + "alive | \n", + "None | \n", + "50.615 | \n", + "35.325 | \n", + "0.0 | \n", + "52.558 | \n", + "23.752 | \n", + "... | \n", + "None | \n", + "None | \n", + "5.265 | \n", + "33.529 | \n", + "None | \n", + "None | \n", + "NaN | \n", + "NaN | \n", + "None | \n", + "None | \n", + "
2 | \n", + "1 | \n", + "0.2 | \n", + "1598184000200 | \n", + "alive | \n", + "None | \n", + "49.630 | \n", + "36.140 | \n", + "0.0 | \n", + "52.310 | \n", + "23.901 | \n", + "... | \n", + "None | \n", + "None | \n", + "5.264 | \n", + "33.502 | \n", + "None | \n", + "None | \n", + "NaN | \n", + "NaN | \n", + "None | \n", + "None | \n", + "
3 | \n", + "1 | \n", + "0.3 | \n", + "1598184000300 | \n", + "alive | \n", + "None | \n", + "48.725 | \n", + "36.625 | \n", + "0.0 | \n", + "52.059 | \n", + "24.071 | \n", + "... | \n", + "None | \n", + "None | \n", + "5.268 | \n", + "33.476 | \n", + "None | \n", + "None | \n", + "NaN | \n", + "NaN | \n", + "None | \n", + "None | \n", + "
4 | \n", + "1 | \n", + "0.4 | \n", + "1598184000400 | \n", + "alive | \n", + "None | \n", + "47.890 | \n", + "37.130 | \n", + "0.0 | \n", + "51.804 | \n", + "24.260 | \n", + "... | \n", + "None | \n", + "None | \n", + "5.277 | \n", + "33.452 | \n", + "None | \n", + "None | \n", + "NaN | \n", + "NaN | \n", + "None | \n", + "None | \n", + "
5 rows × 100 columns
\n", + "