diff --git a/nba-proxy/requirements.txt b/nba-proxy/requirements.txt index e1f459ee..a0cd3e1c 100644 --- a/nba-proxy/requirements.txt +++ b/nba-proxy/requirements.txt @@ -1,5 +1,5 @@ reflex>=0.8.0 -pandas -plotly -statsmodels -scipy<1.16.0 +pandas==3.0.1 +plotly==6.6.0 +statsmodels==0.14.6 +scipy==1.17.1 diff --git a/nba/nba/views/table.py b/nba/nba/views/table.py index 2dc2b165..285379f8 100644 --- a/nba/nba/views/table.py +++ b/nba/nba/views/table.py @@ -5,7 +5,7 @@ nba_overview = "https://media.geeksforgeeks.org/wp-content/uploads/nba.csv" nba_data = pd.read_csv(nba_overview) -college = ["All"] + sorted(nba_data["College"].unique().astype(str)) +college = ["All"] + sorted(nba_data["College"].dropna().unique()) class State(rx.State): diff --git a/nba/requirements.txt b/nba/requirements.txt index e1f459ee..a0cd3e1c 100644 --- a/nba/requirements.txt +++ b/nba/requirements.txt @@ -1,5 +1,5 @@ reflex>=0.8.0 -pandas -plotly -statsmodels -scipy<1.16.0 +pandas==3.0.1 +plotly==6.6.0 +statsmodels==0.14.6 +scipy==1.17.1