Skip to content

Instantly share code, notes, and snippets.

@jmadden173
jmadden173 / system_info.txt
Created Aug 17, 2019
Steam - System Information
View system_info.txt
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17
@jmadden173
jmadden173 / matches_team_stats.py
Created Jan 29, 2020
Gets matches but instead of getting the stats for the game it merges the team stats for that given year.
View matches_team_stats.py
#!/usr/bin/env python
import pandas as pd
from nba_api.stats.endpoints import leaguegamefinder, teamyearbyyearstats
# Define what years to collect game data on
years = ["2015-16",
"2016-17",
"2017-18",
"2018-19",]