python数据帧中日期转换的断言错误assert errors in [“raise“, “ignore“, “coerce“]

flow[‘ftime’]=pd.to_datetime(flow[‘时间’],format=‘%Y-%m-%d %H:%M’)
需要加format

你可能感兴趣的:(python)