justinzm/gopup

数据展示显示

wbbk opened this issue · 2 comments

wbbk commented

在使用的这个gopup包抓取的数据之后,显示的是部分的数据,那我应该怎样显示全部的数据呢???

爬到的数据是dataframe类型的,所以可以用 iterrows迭代器 循环遍历所有数据~

爬到的数据是dataframe类型的,所以可以用 iterrows迭代器 循环遍历所有数据~

循环遍历时的代码为:
for item in index_df.iterrows():
print(item)

这样就能显示爬到的所有数据了~