Skip to content
Advertisement

how to convert the int Date to datetime

i’ve combined many dateframes but the date is not match as it’s look like (datetime & int) as below , it’s contains float number and datetime date.

JavaScript

i’m tried to use the below codes but i found error messages (ValueError: mixed datetimes and integers in passed array) or i found this error elso(‘<‘ not supported between instances of ‘Timestamp’ and ‘int’)

So how can i change the date formatting to be all like dd-mm-yyyy

The full code:-

JavaScript

Advertisement

Answer

Check Below code:

JavaScript

Output:

enter image description here

Updating code as per OP comment below:

JavaScript

Output:

enter image description here

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement