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.10.tar.gz
(393.9 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.10-py3-none-any.whl
(394.4 kB
view details)
File details
Details for the file nhl_vis_386-0.1.10.tar.gz.
File metadata
- Download URL: nhl_vis_386-0.1.10.tar.gz
- Upload date:
- Size: 393.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a5478e28f24b42fc5e8f33b5c7aba14a5cb6647df79b99ba7588c694d05514b
|
|
| MD5 |
ab29762294d33aad41ce3e8b1d2c3db9
|
|
| BLAKE2b-256 |
5feeaf2f6348041900906fe48c79ef1f5f869916451d586b810c7bd5f8eb6fa7
|
File details
Details for the file nhl_vis_386-0.1.10-py3-none-any.whl.
File metadata
- Download URL: nhl_vis_386-0.1.10-py3-none-any.whl
- Upload date:
- Size: 394.4 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 |
a6408788582cc4470d3206ceccef81ae24100a354ace81f88d12c018beee7843
|
|
| MD5 |
4b0f300d393d6718b7b2c13b76620a6e
|
|
| BLAKE2b-256 |
120b1b9a6b21a9959c51785f67565176334bc3832aeab7ef0da60cb39fc6f57a
|