I have an Excel table with the following data
Please note that I have a single column where the date, month, and time are given in the following format.
I wish to sort out the rows with respect to the date and time (i.e Jan-1-1.0, Jan-2-2.0, Jan-1-3.0) and looking for ways to do in Python Pandas DataFrame. (dates are in French)
Kindly provide your suggestions.
Date-heure
Vendredi 03 novembre 10.0
Vendredi 03 novembre 5.0
Vendredi 03 novembre 18.0
Vendredi 03 novembre 24.0
Samedi 04 novembre 1.0
Samedi 04 novembre 2.0
Samedi 04 novembre 4.0
Samedi 04 novembre 5.0
Samedi 04 novembre 7.0
Samedi 04 novembre 13.0
Samedi 04 novembre 21.0
Vendredi 20 avril 1.0
Dimanche 05 novembre 2.0
Dimanche 05 novembre 8.0
Thank you for your prompt response. In my excel the cell is of Date. And when I loaded as a DataFrame, it shows me a datatype as
pandas.core.series.Series
And I just could not sort it out. Also please note I have a time as well in the same cell.
Presenting you all the dtypes here as below;
Date_heure object
Heure int64
Industrie (MW) int64
Tertiaire Chauffage (MW) int64
Tertiaire Climatisation (MW) int64
Tertiaire Autres usages (MW) int64
Résidentiel Chauffage (MW) int64
Résidentiel Eau chaude (MW) int64
dtype: object
Thank you.