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.6.tar.gz (393.7 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.6-py3-none-any.whl (394.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nhl_vis_386-0.1.6.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

Hashes for nhl_vis_386-0.1.6.tar.gz
Algorithm Hash digest
SHA256 127ce51e62cbb7deed6ac126a8d49315097da462b07d73d31e2f06c0be959123
MD5 64a3cd1601bacc9db0423e5f8d6f5af0
BLAKE2b-256 54025bb0090784ff13f3cbe1377ac9bae8291a82e08a077d9a121bcabc42537f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nhl_vis_386-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 394.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ed28876bd7ba07c768cb0896b3fb25b860a05738e3d3168da301a0e6f8b208
MD5 e244a7976155c48d1d7205ba2ff700e0
BLAKE2b-256 026181c23fc6b35a6e806d6cdba4119a78110226020602d51a9176158a9aeb21

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