fix pandas dataframe date conversion