Simple functions for obtaining and visualizing NHL data
Project description
nhl_vis_386
Class package to analyze NHL player data from the last 25 years.
Description
This package features:
- Data acquisition functions
- Data aggregation/filtering functions to get stats from specific players and seasons
- Data filters to get stats from a specific team/season roster
- Functions to visualize NHL player stats relative to the rest of the league
Installation
pip install nhl_vis_386
Usage
# Get stats for a player in specific seasons, unaggregated
get_player_stats("Connor Bedard", season=[2023, 2024], aggr=False)
# Get stats for a team's roster
get_roster_stats("CHI", 2024)
# Visualize scatterplot of common metrics, highlighting a team and player
score_scatter(player="Connor Bedard", season = 2024, metrics = ["A", "G"])
# Visualize a player's scoring relative to the league average
score_plot("Connor Bedard", season=2024)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nhl_vis_386-0.1.3.tar.gz
(393.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nhl_vis_386-0.1.3-py3-none-any.whl
(394.3 kB
view details)
File details
Details for the file nhl_vis_386-0.1.3.tar.gz.
File metadata
- Download URL: nhl_vis_386-0.1.3.tar.gz
- Upload date:
- Size: 393.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158c58077cf8eda2ceac0d46e9bbdb96aeb26738901db539aa68118cb62a53dc
|
|
| MD5 |
e66fc96641ab7414aaf5414b8a21ca06
|
|
| BLAKE2b-256 |
81ef6c63eb0fefec5c12594f066c09d302c60c4f5859ba864960d5e789266e66
|
File details
Details for the file nhl_vis_386-0.1.3-py3-none-any.whl.
File metadata
- Download URL: nhl_vis_386-0.1.3-py3-none-any.whl
- Upload date:
- Size: 394.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7f8b9bf74d8ddaa91b292c113c65d590f9951d7f628e0a4b3462ee53a084657
|
|
| MD5 |
01743e64fa5ca80be71c0357efb45270
|
|
| BLAKE2b-256 |
48f8650ef50a872bf67142ddc94e75ed51539821d20ed2d50088b5e26c8a2134
|