Browse Source

Adding the "DayOfWeek" to the columns to drop and see if it fixes the error

master
Robert Rabbe 3 days ago
parent
commit
65dac044d7
  1. 5
      main.py

5
main.py

@ -105,9 +105,10 @@ def main():
def reduce_columns(df, filename):
if '15MIN' in filename:
return df.drop(columns=['Month', 'Year', 'date']+weak_column_names)
return df.drop(columns=['Month', 'Year', 'date', 'DayOfWeek']+weak_column_names, errors='ignore')
else:
return df.drop(columns=['Month', 'Year', 'date'])
return df.drop(columns=['Month', 'Year', 'date', 'DayOfWeek'], errors='ignore')
def main_two():
results = pd.DataFrame()

Loading…
Cancel
Save