convert an object datatype to datetime
My date in my column looks like this:
convert an datatype object to datatype datatime
My date in my column looks like this:
9999-12-31 00:00:00
Because of the time stamp i can’t use errors =’coerse’ because it will convert this to NaT value, and i want to keep my values.
This small code turns keeps my date and time, and now i to convert it to an datetime64( the data type is an object)
time stap 00:00:00 convert datetype from object to datetime64 in python
My date in my column looks like this:
9999-12-31 00:00:00
Because of the time stamp i can’t use errors =’coerse’ because it will convert this to NaT value, and i want to keep my values.
This small code turns keeps my date and time, and now i to convert it to an datetime64( the data type is an object)