python - ValueError: hour must be in 0..23 -


im trying convert object column datetime datatype in pandas dataframe.

  • the dates in format : 10/10/1949 20:30

  • when : df['date_time'] = pd.to_datetime(df['date_time'])

  • i value error saying : valueerror: hour must in 0..23

how solve , separate date_time years,months,days , hours.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -