Skip to content

Commit

Permalink
Removed clean from run.py
Browse files Browse the repository at this point in the history
This avoids double cleaning.
  • Loading branch information
vloothuis committed Mar 10, 2024
1 parent 1ddcf73 commit 456b145
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ def predict(input_path, output):
to a new output CSV file.
This function should not be modified.
"""
"""

if output is None:
output = sys.stdout
df = pd.read_csv(
input_path, encoding="latin-1", encoding_errors="replace", low_memory=False
)
df = submission.clean_df(df)
predictions = submission.predict_outcomes(df)
assert (
predictions.shape[1] == 2
Expand Down

0 comments on commit 456b145

Please sign in to comment.