Spaces:
Sleeping
Sleeping
BraydenMoore
commited on
Commit
•
a43d6a8
1
Parent(s):
3a27bb8
Update main.py
Browse files
main.py
CHANGED
@@ -31,8 +31,8 @@ def get_games():
|
|
31 |
@app.route('/submit_games', methods=['POST'])
|
32 |
def submit_games():
|
33 |
data = request.json
|
34 |
-
print(data)
|
35 |
data = pd.DataFrame(data).replace('', np.nan).dropna()
|
|
|
36 |
home_teams = data['HomeTeam'].values
|
37 |
away_teams = data['AwayTeam'].values
|
38 |
ou_lines = data['OverUnderLine'].values
|
|
|
31 |
@app.route('/submit_games', methods=['POST'])
|
32 |
def submit_games():
|
33 |
data = request.json
|
|
|
34 |
data = pd.DataFrame(data).replace('', np.nan).dropna()
|
35 |
+
print(data)
|
36 |
home_teams = data['HomeTeam'].values
|
37 |
away_teams = data['AwayTeam'].values
|
38 |
ou_lines = data['OverUnderLine'].values
|