Skip to content

Commit aa3f655

Browse files
authored
adapt to latest pandas (#320)
* adapt to latest pandas * remove scipy
1 parent f890fd4 commit aa3f655

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

nba-proxy/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
reflex>=0.8.0
2-
pandas
3-
plotly
4-
statsmodels
5-
scipy<1.16.0
2+
pandas==3.0.1
3+
plotly==6.6.0
4+
statsmodels==0.14.6
5+
scipy==1.17.1

nba/nba/views/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
nba_overview = "https://media.geeksforgeeks.org/wp-content/uploads/nba.csv"
77
nba_data = pd.read_csv(nba_overview)
8-
college = ["All"] + sorted(nba_data["College"].unique().astype(str))
8+
college = ["All"] + sorted(nba_data["College"].dropna().unique())
99

1010

1111
class State(rx.State):

nba/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
reflex>=0.8.0
2-
pandas
3-
plotly
4-
statsmodels
5-
scipy<1.16.0
2+
pandas==3.0.1
3+
plotly==6.6.0
4+
statsmodels==0.14.6
5+
scipy==1.17.1

0 commit comments

Comments
 (0)