nesticot commited on
Commit
81b4ed7
·
verified ·
1 Parent(s): 2296e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.read_csv(f'data/stuff/stuff_{level_dict_file[str(sport_id)]}_{year}.csv')
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