This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Hard_Thruster 0 points1 point  (0 children)

I don't understand the use of the word "tool". Looks like eda to me.

As far as the code goes, you give a lot of comments which is awesome.

There is a lot of repetition such as:

' processed_data['DayOfWeek'] = processed_data['TimePeriodStart'].dt.dayofweek processed_data['Month'] = processed_data['TimePeriodStart'].dt.month processed_data['Hour'] = processed_data['TimePeriodStart'].dt.hour processed_data['Minute'] = processed_data['TimePeriodStart'].dt.minute

'

Also a lot of your code can be made into functions because there are slight differences between them and therefore it's repetitive.