Skip to main content

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


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.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nhl_vis_386-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file nhl_vis_386-0.1.2.tar.gz.

File metadata

  • Download URL: nhl_vis_386-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for nhl_vis_386-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3c1ac5ded0168803402576ded7f1295771e27d49bc88525205447a0908fde9ec
MD5 5c2299337e3c3aecca75059d6df7b860
BLAKE2b-256 68aeeae92b1b42896f21747f659895be8e6f4ac1a800bbe82fe907714677b878

See more details on using hashes here.

File details

Details for the file nhl_vis_386-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nhl_vis_386-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for nhl_vis_386-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee44cf0ee9d603db120664f203aa3b10fb25ac3e1b35816e19b416651cfd09fa
MD5 38634ec49f67c511d92df04f945fc19d
BLAKE2b-256 8fe8231e8ab0e322e601a8a22226a02c86964c21a9bdc97fcec561bfc1229c7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page