parent
4ac3b12815
commit
a5112d0a30
@ -0,0 +1,12 @@
|
||||
import pandas as pd
|
||||
#将爬到的弹幕数据写入[]中
|
||||
content_list = [
|
||||
|
||||
]
|
||||
# 将数据写入工作表
|
||||
df = pd.DataFrame()
|
||||
df["弹幕列表"] = content_list
|
||||
print(df)
|
||||
|
||||
# 保存工作簿到文件
|
||||
df.to_excel("弹幕4.xlsx",index=False)
|
Loading…
Reference in new issue