Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -928,7 +928,7 @@ def server(input, output, session):
|
|
| 928 |
df_small = df_rosters[['minorbamid','minormasterid']].dropna()
|
| 929 |
dict_mlb_fg=dict(zip(df_small['minorbamid'].astype(int),df_small['minormasterid']))
|
| 930 |
|
| 931 |
-
df_stuff = pl.
|
| 932 |
# Filter out the "All" row
|
| 933 |
filtered_df = df_stuff.filter(pl.col("pitch_type") != "All")
|
| 934 |
|
|
|
|
| 928 |
df_small = df_rosters[['minorbamid','minormasterid']].dropna()
|
| 929 |
dict_mlb_fg=dict(zip(df_small['minorbamid'].astype(int),df_small['minormasterid']))
|
| 930 |
|
| 931 |
+
df_stuff = pl.read_parquet(f"hf://datasets/TJStatsApps/mlb_data/stuff/stuff_{year}.parquet")
|
| 932 |
# Filter out the "All" row
|
| 933 |
filtered_df = df_stuff.filter(pl.col("pitch_type") != "All")
|
| 934 |
|