nfelodcm 0.1.21__tar.gz → 0.1.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/PKG-INFO +1 -1
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py +1 -1
- nfelodcm-0.1.22/nfelodcm/Engine/Assignments/assignments/temp_players_handle.py +30 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/DataPull.py +22 -1
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/participants.json +2 -1
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/pbp.json +2 -0
- nfelodcm-0.1.22/nfelodcm/Maps/player_stats_season.json +76 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/players.json +8 -12
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/rosters.json +2 -1
- nfelodcm-0.1.22/nfelodcm/Maps/stadiums_rolling_stats.json +44 -0
- nfelodcm-0.1.22/nfelodcm/Maps/team_stadiums_rolling_stats.json +48 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm.egg-info/PKG-INFO +1 -1
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm.egg-info/SOURCES.txt +6 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/pyproject.toml +1 -1
- nfelodcm-0.1.21/nfelodcm/Engine/Assignments/assignments/temp_players_handle.py +0 -15
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/README.md +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignment.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/desc_based_plays.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_player_file.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_qb_file.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/penalty_formatting.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/score_clean.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/DCMTable.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/Freshness.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/LocalIO.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/TableMap.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Primatives/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/coaches.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/filmmargins.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/games.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/hfa.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/logos.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/market_data.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/nfelo_games.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/player_stats.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/qb_meta.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/qbelo.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/qbr.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/srs_ratings.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/stadiums.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/team_stadiums.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/wepa.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Maps/wt_ratings.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/__init__.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/checks.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/extract_map.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/global_variables.json +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/load_maps.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/retrieve_season_state.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Utilities/set_season_state.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/nfelodcm.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/tests.py +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm.egg-info/dependency_links.txt +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm.egg-info/requires.txt +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm.egg-info/top_level.txt +0 -0
- {nfelodcm-0.1.21 → nfelodcm-0.1.22}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nfelodcm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.22
|
4
4
|
Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
|
5
5
|
Author-email: Robert Greer <nfl@robbygreer.com>
|
6
6
|
Maintainer-email: Robert Greer <nfl@robbygreer.com>
|
{nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py
RENAMED
@@ -19,7 +19,7 @@ def team_id_repl(df):
|
|
19
19
|
'side_of_field', 'timeout_team', 'td_team',
|
20
20
|
'return_team', 'possession_team',
|
21
21
|
'recent_team', 'opponent_team',
|
22
|
-
'draft_team', 'draft_club'
|
22
|
+
'draft_team', 'draft_club', 'team'
|
23
23
|
]:
|
24
24
|
if col in df.columns:
|
25
25
|
df[col] = df[col].replace(repl)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
import numpy
|
3
|
+
|
4
|
+
def temp_players_handle(df):
|
5
|
+
"""
|
6
|
+
Renames the the players.csv columns (draftround) to match
|
7
|
+
the old naming. This is a temporary fix as nflfastR is updating
|
8
|
+
pipelines and does not plan to address this bug
|
9
|
+
|
10
|
+
When the new pipelines are officially released, players will point
|
11
|
+
to the new file
|
12
|
+
"""
|
13
|
+
## rename ##
|
14
|
+
df = df.rename(columns={
|
15
|
+
'latest_team': 'team_abbr',
|
16
|
+
'rookie_season': 'rookie_year',
|
17
|
+
'draft_team': 'draft_club',
|
18
|
+
'draft_pick': 'draft_number',
|
19
|
+
'draft_year': 'entry_year',
|
20
|
+
'ngs_status' : 'status_description_abbr',
|
21
|
+
'ngs_status_short_description': 'status_short_description'
|
22
|
+
})
|
23
|
+
|
24
|
+
## add missing columns that were lost in migration ##
|
25
|
+
df['team_seq'] = None # Lost - was chronological team sequence
|
26
|
+
df['current_team_id'] = None # Lost - was numeric team ID
|
27
|
+
df['gsis_it_id'] = None # Lost - was GSIS IT identifier
|
28
|
+
df['uniform_number'] = None # Lost - was uniform number field
|
29
|
+
|
30
|
+
return df
|
@@ -60,6 +60,11 @@ class DataPull():
|
|
60
60
|
## if not iter type, assume single download url ##
|
61
61
|
self.pull_data(self.config['download_url'])
|
62
62
|
elif self.config['iter']['type'] == 'season':
|
63
|
+
## determine if config accepts partials ##
|
64
|
+
accepts_partial = False
|
65
|
+
missing_parts = []
|
66
|
+
if 'accept_partial' in self.config['iter']:
|
67
|
+
accepts_partial = self.config['iter']['accept_partial']
|
63
68
|
## if season iter, loop through seasons ##
|
64
69
|
for season in range(
|
65
70
|
self.config['iter']['start'],
|
@@ -68,7 +73,23 @@ class DataPull():
|
|
68
73
|
## form download url ##
|
69
74
|
url = self.config['download_url'].format(season)
|
70
75
|
## pull data ##
|
71
|
-
|
76
|
+
try:
|
77
|
+
self.pull_data(url)
|
78
|
+
except Exception as e:
|
79
|
+
if accepts_partial:
|
80
|
+
missing_parts.append(season)
|
81
|
+
print('WARN: Failed to pull data, but partial iter data is accepted.')
|
82
|
+
else:
|
83
|
+
raise e
|
84
|
+
## if partials accepted, ensure at least one frame was pulled ##
|
85
|
+
if accepts_partial:
|
86
|
+
if len(self.pulled_data) == 0:
|
87
|
+
raise ValueError('ERROR: Partial iter data is accepted, but no data was pulled')
|
88
|
+
elif len(missing_parts) > 0:
|
89
|
+
print('WARN: Partial iter data is accepted, but the following seasons were missing: {0}'.format(missing_parts))
|
90
|
+
else:
|
91
|
+
## if partials are accepted, but no missing parts, do not flag ##
|
92
|
+
pass
|
72
93
|
else:
|
73
94
|
raise ValueError('ERROR: Iter type not recognized.')
|
74
95
|
|
@@ -0,0 +1,76 @@
|
|
1
|
+
{
|
2
|
+
"name": "player_stats",
|
3
|
+
"description": "nflfastR player stats",
|
4
|
+
"last_local_update": "2022-05-08T22:20:24.362121",
|
5
|
+
"download_url": "https://github.com/nflverse/nflverse-data/releases/download/player_stats/player_stats_season.csv.gz",
|
6
|
+
"compression": "gzip",
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_release",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
|
11
|
+
"gh_release_tag": "player_stats",
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:20:21.420258+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [
|
20
|
+
"fastr_team_id_repl"
|
21
|
+
],
|
22
|
+
"map": {
|
23
|
+
"season": "int32",
|
24
|
+
"season_type": "object",
|
25
|
+
"player_id": "object",
|
26
|
+
"player_name": "object",
|
27
|
+
"player_display_name": "object",
|
28
|
+
"position": "object",
|
29
|
+
"position_group": "object",
|
30
|
+
"headshot_url": "object",
|
31
|
+
"games": "int32",
|
32
|
+
"recent_team": "object",
|
33
|
+
"completions": "int32",
|
34
|
+
"attempts": "int32",
|
35
|
+
"passing_yards": "int32",
|
36
|
+
"passing_tds": "int32",
|
37
|
+
"interceptions": "int32",
|
38
|
+
"sacks": "int32",
|
39
|
+
"sack_yards": "int32",
|
40
|
+
"sack_fumbles": "int32",
|
41
|
+
"sack_fumbles_lost": "int32",
|
42
|
+
"passing_air_yards": "int32",
|
43
|
+
"passing_yards_after_catch": "int32",
|
44
|
+
"passing_first_downs": "int32",
|
45
|
+
"passing_epa": "float32",
|
46
|
+
"passing_2pt_conversions": "int32",
|
47
|
+
"pacr": "float32",
|
48
|
+
"dakota": "float32",
|
49
|
+
"carries": "int32",
|
50
|
+
"rushing_yards": "int32",
|
51
|
+
"rushing_tds": "int32",
|
52
|
+
"rushing_fumbles": "int32",
|
53
|
+
"rushing_fumbles_lost": "int32",
|
54
|
+
"rushing_first_downs": "int32",
|
55
|
+
"rushing_epa": "float32",
|
56
|
+
"rushing_2pt_conversions": "int32",
|
57
|
+
"receptions": "int32",
|
58
|
+
"targets": "int32",
|
59
|
+
"receiving_yards": "int32",
|
60
|
+
"receiving_tds": "int32",
|
61
|
+
"receiving_fumbles": "int32",
|
62
|
+
"receiving_fumbles_lost": "int32",
|
63
|
+
"receiving_air_yards": "int32",
|
64
|
+
"receiving_yards_after_catch": "int32",
|
65
|
+
"receiving_first_downs": "int32",
|
66
|
+
"receiving_epa": "float32",
|
67
|
+
"receiving_2pt_conversions": "int32",
|
68
|
+
"racr": "float32",
|
69
|
+
"target_share": "float32",
|
70
|
+
"air_yards_share": "float32",
|
71
|
+
"wopr": "float32",
|
72
|
+
"special_teams_tds": "int32",
|
73
|
+
"fantasy_points": "float32",
|
74
|
+
"fantasy_points_ppr": "float32"
|
75
|
+
}
|
76
|
+
}
|
@@ -35,23 +35,19 @@
|
|
35
35
|
"height": "float32",
|
36
36
|
"weight": "float32",
|
37
37
|
"years_of_experience": "float32",
|
38
|
-
"
|
39
|
-
"team_seq": "float32",
|
40
|
-
"current_team_id": "float32",
|
38
|
+
"latest_team": "object",
|
41
39
|
"football_name": "object",
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
40
|
+
"rookie_season": "float32",
|
41
|
+
"draft_team": "object",
|
42
|
+
"draft_pick": "float32",
|
43
|
+
"draft_year": "float32",
|
44
|
+
"ngs_status": "object",
|
46
45
|
"college_conference": "object",
|
47
|
-
"
|
48
|
-
"status_short_description": "object",
|
49
|
-
"gsis_it_id": "float32",
|
46
|
+
"ngs_status_short_description": "object",
|
50
47
|
"short_name": "object",
|
51
48
|
"smart_id": "object",
|
52
49
|
"headshot": "object",
|
53
50
|
"suffix": "object",
|
54
|
-
"
|
55
|
-
"draftround": "float32"
|
51
|
+
"draft_round": "float32"
|
56
52
|
}
|
57
53
|
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "team_stadiums_rolling_stats",
|
3
|
+
"description": "Rolling HFA stats for the NFL",
|
4
|
+
"last_local_update": "2022-02-21T21:36:04.215102",
|
5
|
+
"download_url": "https://raw.githubusercontent.com/greerreNFL/Stadiums/refs/heads/main/data/rolling_league_hfa.csv",
|
6
|
+
"compression": null,
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_commit",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/rolling_league_hfa.csv",
|
11
|
+
"gh_release_tag": null,
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:17:31.578742+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [],
|
20
|
+
"map": {
|
21
|
+
"season": "int32",
|
22
|
+
"week": "int32",
|
23
|
+
"win": "int32",
|
24
|
+
"loss": "int32",
|
25
|
+
"tie": "int32",
|
26
|
+
"mov": "float32",
|
27
|
+
"error": "float32",
|
28
|
+
"wins_l16": "float32",
|
29
|
+
"losses_l16": "float32",
|
30
|
+
"ties_l16": "float32",
|
31
|
+
"mov_l16": "float32",
|
32
|
+
"hfa_l16": "float32",
|
33
|
+
"wins_l80": "float32",
|
34
|
+
"losses_l80": "float32",
|
35
|
+
"ties_l80": "float32",
|
36
|
+
"mov_l80": "float32",
|
37
|
+
"hfa_l80": "float32",
|
38
|
+
"wins_all_time": "float32",
|
39
|
+
"losses_all_time": "float32",
|
40
|
+
"ties_all_time": "float32",
|
41
|
+
"mov_all_time": "float32",
|
42
|
+
"hfa_all_time": "float32"
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"name": "team_stadiums_rolling_stats",
|
3
|
+
"description": "Rolling stats for NFL teams and their stadiums",
|
4
|
+
"last_local_update": "2022-02-21T21:36:04.215102",
|
5
|
+
"download_url": "https://raw.githubusercontent.com/greerreNFL/Stadiums/refs/heads/main/data/rolling_team_hfa.csv",
|
6
|
+
"compression": null,
|
7
|
+
"engine": "c",
|
8
|
+
"freshness": {
|
9
|
+
"type": "gh_commit",
|
10
|
+
"gh_api_endpoint": "https://api.github.com/repos/greerreNFL/Stadiums/commits?path=data/rolling_team_hfa.csv",
|
11
|
+
"gh_release_tag": null,
|
12
|
+
"sla_seconds": 900,
|
13
|
+
"last_freshness_check": "2022-05-08T22:17:31.578742+00:00"
|
14
|
+
},
|
15
|
+
"iter": {
|
16
|
+
"type": null,
|
17
|
+
"start": null
|
18
|
+
},
|
19
|
+
"assignments": [],
|
20
|
+
"map": {
|
21
|
+
"season": "int32",
|
22
|
+
"week": "int32",
|
23
|
+
"team": "object",
|
24
|
+
"stadium": "object",
|
25
|
+
"mov": "float32",
|
26
|
+
"expected_mov": "float32",
|
27
|
+
"error": "float32",
|
28
|
+
"games_played": "float32",
|
29
|
+
"win": "float32",
|
30
|
+
"loss": "float32",
|
31
|
+
"tie": "float32",
|
32
|
+
"wins_l16": "float32",
|
33
|
+
"losses_l16": "float32",
|
34
|
+
"ties_l16": "float32",
|
35
|
+
"mov_l16": "float32",
|
36
|
+
"hfa_l16": "float32",
|
37
|
+
"wins_l80": "float32",
|
38
|
+
"losses_l80": "float32",
|
39
|
+
"ties_l80": "float32",
|
40
|
+
"mov_l80": "float32",
|
41
|
+
"hfa_l80": "float32",
|
42
|
+
"wins_all_time": "float32",
|
43
|
+
"losses_all_time": "float32",
|
44
|
+
"ties_all_time": "float32",
|
45
|
+
"mov_all_time": "float32",
|
46
|
+
"hfa_all_time": "float32"
|
47
|
+
}
|
48
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nfelodcm
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.22
|
4
4
|
Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
|
5
5
|
Author-email: Robert Greer <nfl@robbygreer.com>
|
6
6
|
Maintainer-email: Robert Greer <nfl@robbygreer.com>
|
@@ -31,6 +31,7 @@ pyproject.toml
|
|
31
31
|
./nfelodcm/Maps/participants.json
|
32
32
|
./nfelodcm/Maps/pbp.json
|
33
33
|
./nfelodcm/Maps/player_stats.json
|
34
|
+
./nfelodcm/Maps/player_stats_season.json
|
34
35
|
./nfelodcm/Maps/players.json
|
35
36
|
./nfelodcm/Maps/qb_meta.json
|
36
37
|
./nfelodcm/Maps/qbelo.json
|
@@ -38,7 +39,9 @@ pyproject.toml
|
|
38
39
|
./nfelodcm/Maps/rosters.json
|
39
40
|
./nfelodcm/Maps/srs_ratings.json
|
40
41
|
./nfelodcm/Maps/stadiums.json
|
42
|
+
./nfelodcm/Maps/stadiums_rolling_stats.json
|
41
43
|
./nfelodcm/Maps/team_stadiums.json
|
44
|
+
./nfelodcm/Maps/team_stadiums_rolling_stats.json
|
42
45
|
./nfelodcm/Maps/wepa.json
|
43
46
|
./nfelodcm/Maps/wt_ratings.json
|
44
47
|
./nfelodcm/Utilities/__init__.py
|
@@ -82,6 +85,7 @@ nfelodcm/Maps/nfelo_games.json
|
|
82
85
|
nfelodcm/Maps/participants.json
|
83
86
|
nfelodcm/Maps/pbp.json
|
84
87
|
nfelodcm/Maps/player_stats.json
|
88
|
+
nfelodcm/Maps/player_stats_season.json
|
85
89
|
nfelodcm/Maps/players.json
|
86
90
|
nfelodcm/Maps/qb_meta.json
|
87
91
|
nfelodcm/Maps/qbelo.json
|
@@ -89,7 +93,9 @@ nfelodcm/Maps/qbr.json
|
|
89
93
|
nfelodcm/Maps/rosters.json
|
90
94
|
nfelodcm/Maps/srs_ratings.json
|
91
95
|
nfelodcm/Maps/stadiums.json
|
96
|
+
nfelodcm/Maps/stadiums_rolling_stats.json
|
92
97
|
nfelodcm/Maps/team_stadiums.json
|
98
|
+
nfelodcm/Maps/team_stadiums_rolling_stats.json
|
93
99
|
nfelodcm/Maps/wepa.json
|
94
100
|
nfelodcm/Maps/wt_ratings.json
|
95
101
|
nfelodcm/Utilities/__init__.py
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import pandas as pd
|
2
|
-
import numpy
|
3
|
-
|
4
|
-
def temp_players_handle(df):
|
5
|
-
"""
|
6
|
-
Renames the the players.csv columns (draftround) to match
|
7
|
-
the old naming. This is a temporary fix as nflfastR is updating
|
8
|
-
pipelines and does not plan to address this bug
|
9
|
-
|
10
|
-
When the new pipelines are officially released, players will point
|
11
|
-
to the new file
|
12
|
-
"""
|
13
|
-
## rename ##
|
14
|
-
df = df.rename(columns={'draftround': 'draft_round'})
|
15
|
-
return df
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/desc_based_plays.py
RENAMED
File without changes
|
{nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_player_file.py
RENAMED
File without changes
|
{nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/format_qb_file.py
RENAMED
File without changes
|
{nfelodcm-0.1.21 → nfelodcm-0.1.22}/nfelodcm/Engine/Assignments/assignments/penalty_formatting.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|