[Python] Python change a date format in dataframe

Discussão em 'Python' iniciado por Stack, Julho 23, 2025.

  1. Stack

    Stack Membro Participativo

    I have a dataset containing a column "date":

    date item
    20.3.2010 17:08 a
    20.3.2010 11:16 b
    2010-03-20 15:55:14.060 c
    2010-03-21 13:56:45.077 d


    I would like to convert all values that have format as 20.3.2010 17:08 into 2010-03-21 13:56:45.077.

    Does anybody have an idea?

    Thank you.

    Continue reading...

Compartilhe esta Página