Skip to content

Commit

Permalink
correct mkdir path
Browse files Browse the repository at this point in the history
  • Loading branch information
Godwin-T committed Dec 20, 2023
1 parent 66b63f4 commit 205dc78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/preprocess_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ def main():
# Impute & Write processed dataset
weather_features_processed = impute_data(weather)

if not os.path.dirname(PROCESSED_DATASET):
os.mkdir(os.path.dirname())
if not os.path.exists('./processed_data'):
os.mkdir('./processed_data')

weather_features_processed.to_csv(PROCESSED_DATASET, index=None)

if __name__ == "__main__":
Expand Down

0 comments on commit 205dc78

Please sign in to comment.