print(each.index)
print(each_int)
RangeIndex(start=4096, stop=8192, step=1)
4096
分块读取csv文件
索引4096行,
索引输出是包括第4096行
但实际情况报错,显示4096行不存在
IndexError: single positional indexer is out-of-bounds
大神救救孩子吧T T,这个是什么引起的呀
print(each.index)
print(each_int)
RangeIndex(start=4096, stop=8192, step=1)
4096
分块读取csv文件
索引4096行,
索引输出是包括第4096行
但实际情况报错,显示4096行不存在
IndexError: single positional indexer is out-of-bounds
大神救救孩子吧T T,这个是什么引起的呀
pandas 是从0行开始的,所以each.index=4096所以 最后一行行号是4095,RangeIndex(start=4095, stop=8192, step=1)