摘要: import pandas as pd # 显示所有列,所有行 pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) 参考链接:https://www.jb51.net/article/1 阅读全文
posted @ 2020-10-20 19:16 胸怀丶若谷 阅读(2319) 评论(0) 推荐(0)
摘要: writer = pd.ExcelWriter('/home/leo/Desktop/项目测试/922904.xlsx', engine='openpyxl') new_data.to_excel(writer, index=False, sheet_name="Sheet1") # 设置表格样式 阅读全文
posted @ 2020-10-20 15:21 胸怀丶若谷 阅读(1280) 评论(0) 推荐(0)