Task: Convert DataFrame Index to DateTime Format
Task: Convert DataFrame Index to DateTime Format: a task in Terminal-Lego-15k (Harbor dataset). You have a pandas DataFrame where the index consists of datetime strings, but the index type is currently string instead of datetime . Your task is to convert the string index to a proper datetime…
The task
You have a pandas DataFrame where the index consists of datetime strings, but the index type is currently `string` instead of `datetime`. Your task is to convert the string index to a proper datetime format so that datetime attributes (like `.hour`) can be accessed.
Part of PrimeIntellect/Terminal-Lego-15k.