You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import pandas as pd
|
|
#将爬到的弹幕数据写入[]中
|
|
content_list = [
|
|
|
|
]
|
|
# 将数据写入工作表
|
|
df = pd.DataFrame()
|
|
df["弹幕列表"] = content_list
|
|
print(df)
|
|
|
|
# 保存工作簿到文件
|
|
df.to_excel("弹幕4.xlsx",index=False) |