dcayton commited on
Commit
50ec561
1 Parent(s): 1057240
Files changed (1) hide show
  1. nba_tracking_data_15_16.py +1 -1
nba_tracking_data_15_16.py CHANGED
@@ -50,7 +50,7 @@ text = res.text
50
  json_pattern = r'{"items":*\[.*?\]'
51
  json_match = re.findall(json_pattern, text, re.DOTALL)
52
 
53
- ITEMS = json.loads(json_matches[0]+"}")['items']
54
 
55
  def home_away_event_conversion(number):
56
  if pd.isna(number.item()):
 
50
  json_pattern = r'{"items":*\[.*?\]'
51
  json_match = re.findall(json_pattern, text, re.DOTALL)
52
 
53
+ ITEMS = json.loads(json_match[0]+"}")['items']
54
 
55
  def home_away_event_conversion(number):
56
  if pd.isna(number.item()):