Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
621bd03
1
Parent(s):
f799298
Add debug output in load_overall_stats function of app.py: print top 10 sorted player statistics for improved visibility during data processing.
Browse files
app.py
CHANGED
|
@@ -114,6 +114,8 @@ def load_overall_stats():
|
|
| 114 |
raw_display = raw_display.apply(pd.to_numeric, errors='ignore')
|
| 115 |
sd_raw = raw_display.sort_values(by='Median', ascending=False)
|
| 116 |
|
|
|
|
|
|
|
| 117 |
collection = db["Player_Range_Of_Outcomes"]
|
| 118 |
cursor = collection.find()
|
| 119 |
|
|
|
|
| 114 |
raw_display = raw_display.apply(pd.to_numeric, errors='ignore')
|
| 115 |
sd_raw = raw_display.sort_values(by='Median', ascending=False)
|
| 116 |
|
| 117 |
+
print(sd_raw.head(10))
|
| 118 |
+
|
| 119 |
collection = db["Player_Range_Of_Outcomes"]
|
| 120 |
cursor = collection.find()
|
| 121 |
|