A package for handling soccer data
Project description
soccer-py
A python application to handle soccer data.
- Visualization tool for X & Y coordinates
Documentation
Check out the Documentation
Examples
from todofcpy.graph import Sprintmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
tsm = Sprintmap(data=dat)
plt = tsm.create_sprintmap_plot()
plt.show()
from todofcpy.graph import Heatmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
thm = Heatmap(data=dat)
thm.set_colors(color='plasma')
plt = thm.create_heatmap_plot()
plt.show()
...
(_or_)
...
from todofcpy.graph import Heatmap
df = df[['x_pos','y_pos']]
dat = df.to_numpy()
thm = Heatmap(data=dat, color='magma')
plt = thm.create_heatmap_plot()
plt.show()
Extra Data Work
This is a passion project started at Todo Football Club
Releases
0.0.0 == Currently graphs a heatmap.
0.1.0 == Sprintmaps.
0.1.1 == 2d array bug fix.
0.2.0 == Heatmap can choose color scheme from ['viridis', 'plasma', 'inferno', 'magma', 'cividis']
Restructuring of codebase.
0.3.0 == Animation of single player.
0.3.1 == Create pyplot field with color choices.
License
todofcpy is a MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
todofcpy-0.3.1.tar.gz
(20.4 kB
view hashes)
Built Distribution
todofcpy-0.3.1-py3-none-any.whl
(21.6 kB
view hashes)