typo fix
Browse files
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(
|
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()):
|