I need to predict temperature when time and humidity are given. Before starting in python, I created a regression model in excel. My data has time in datetime format [6/1/2022 0:00]. Instead of predicting temperature, it gives datetime as an answer.
On looking up the internet, I found that one can not do regression with datetime format. Some sources I looked upon have used
datetime.toordinal()
to convert dates to numerical Gregorian value (I didn't understand Julian vs Gregorian too). But my problem has date and time together. I need an efficient way to deal with datetime here, to feed into a regression model.