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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -