我就是把你的代码复制过去也是这么个错误,不知道是否没安装啥库
回复 29楼 sheeboard
df_['date']=pd.to_datetime(df_['date'],format='%Y/%m/%d %H:%M:%S')return x.isocalendar().week
AttributeError: 'tuple' object has no attribute 'week'
还是一样的错误,跑不下去了


