Skip to content

Commit

Permalink
Deleted debugging rows
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpadd committed Nov 30, 2023
1 parent 64687e2 commit 65925db
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions europeanfootballleaguepredictor/data/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ def test_for_nulls(self, data: list, data_status: str) -> list:
for dataframe in data:
contains_nulls = dataframe.isnull().any().any()
if contains_nulls:
try:
info_has_nulls = dataframe[info_columns].isnull().any()
except KeyError:
logger.debug(dataframe.columns)
logger.debug(dataframe)
info_has_nulls = dataframe[info_columns].isnull().any()
stats_have_nulls = dataframe[stats_columns].isnull().any()
odds_have_nulls = dataframe[odds_columns].isnull().any()
if info_has_nulls.any():
Expand Down

0 comments on commit 65925db

Please sign in to comment.