I have a big DataFrame with a date_time as index , for exemple : 2022-09-30 15:45:00. A row with data of one day every minute
row1 2022-09-10 10:05 data1 data2 data3
row2 2022-09-10 10:06 data4 data5 data6 etc...
The index range being : “2022-09-01” to “2022-10-31” (for exemple), it could be several weeks, several months, even a few years (2 or 3)
I want to split this DataFrame in several smaller DataFrames, each one :
Containing only data of the same day
The name of each new DataFrame must include reference of the date, for exemple XXX-2022-09-15
Each DataFrame has only data (or part of the data) of the same day: from 9:45 to 10:30 (for ex)
The hour range being the same for all the new DataFrames created
I tried with DateTimeIndex but I had problems to understand the way it works