I have a date in my dataframe with format like this
"2018-05-01"
"2018-05-02"
"2018-05-03"
I want to convert the date into something like this in my JSON
"2018-05-01T00:00:00.000Z"
"2018-05-02T00:00:00.000Z"
I had tried using pd.to_datetime(df['date'])
but the result is become something like 1523404800000 in my JSON file. What should I do to get a format like "2018-05-02T00:00:00.000Z" in my JSON?