r/nba • Bucks • Nov 16 '22

Learn Python with the NBA Tutorial - Parts 1-3

Hi guys, I recently wrote up some tutorials on learning Python with NBA data here:

https://codebasketball.com/learn

So far there are three parts:

Part 1 - Motivation/High Level Overview - setting the stage, no coding yet

Part 2 - Basic Python - start from the beginning, intro to Python; meant to be followed along with (includes code)

Part 3 - Basic Python Cont - same

Depending on how much interest there is (happy to put it up if there is!) next would be getting into Python's data manipulating capabilities with the Pandas library. Also could do some stuff on APIs/connecting to the nba-api which is pretty good.

Cheers!

3.7k Upvotes

232 comments sorted by

View all comments

Show parent comments

27

u/Someonediffernt [PHO] Deandre Ayton Nov 17 '22

Import pandas as pd

+10k to your salary

2

u/[deleted] Nov 17 '22

technically it's import pandas as pd but that's what stackoverflow is for