Commit 8799ff6 1 parent e3c351a commit 8799ff6 Copy full SHA for 8799ff6
File tree 4 files changed +298
-17
lines changed
4 files changed +298
-17
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import pandas as pd
4
4
from pandas .core .frame import DataFrame
5
- from numpy import NaN
5
+ from numpy import nan
6
6
from espn_api .football import League
7
7
import requests
8
8
from natsort import natsort_keygen
@@ -135,7 +135,7 @@ def _get_games(self):
135
135
game_stats .append (game .away_lineup )
136
136
137
137
if game .home_score == 0 and game .away_score == 0 :
138
- game_stats .append (NaN )
138
+ game_stats .append (nan )
139
139
else :
140
140
game_stats .append (abs (game .home_score - game .away_score ))
141
141
Original file line number Diff line number Diff line change
1
+ [project ]
2
+ name = " fantasystats"
3
+ version = " 0.1.0"
4
+ description = " Add your description here"
5
+ readme = " README.md"
6
+ requires-python = " >=3.12"
7
+ dependencies = [
8
+ " espn-api>=0.40.1" ,
9
+ " jinja2>=3.1.4" ,
10
+ " natsort>=8.4.0" ,
11
+ " numpy>=2.1.1" ,
12
+ " pandas>=2.2.3" ,
13
+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments