How to change string to date type using dask dataframes in python?
if i understand right: the list somedates contains string values of dates in the format: "2020-01-23", and you want to convert is to datetime type.
import datetime as dtfor i in range(len(somedates)): myformat = "%Y-%m-%d" somedates[i] = dt.datetime.strptime(somedates[i], myformat)