AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?解决办法!!!
在使用Python Pandas的DataFrame时,报异常:
语句:for col, data in data_list[i].iteritems():
异常:AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?
解决办法:
语句:for col, data in data_list[i].items():
说明:iteritems()被items()替代!!!