ian-whitestone / nba-hackathon

Supporting code for the 2017 NBA hackathon
https://hackathon.nba.com/2017-hackathon-recap/
2 stars 0 forks source link

Exploratory data analysis #2

Open denkii opened 6 years ago

denkii commented 6 years ago

Prompt 2 datasets

heytheredli commented 6 years ago

python command to remove all invalid rows for accounts_000.txt:

account_000 = pd.read_csv("account_000.txt", delimiter="|", skiprows = [858617,1041673,1149339,1217483, 1486057, 1486058, 1732138, 1744129, 1868116, 2007689, 2038301, 2082738, 2311444, 2358626, 2460007, 2460008, 2545168, 2572593, 2751962, 2878542, 2878543, 2892853], low_memory=False)