嗨,有什么办法来添加一个呼出框在excel表.something like https:/www.officetooltips.comword_2016tipsadding_callouts_to_objects.html
我正在使用xlsxwriter从一个数据框架导出excel。
任何帮助:)
要使用XlsxWriter与Pandas你指定它作为Excel编写引擎。
import pandas as pd
# Create a Pandas dataframe from the data.
df = pd.DataFrame({'Data': [10, 20, 30, 20, 15, 30, 45]})
# Create a Pandas Excel writer using XlsxWriter as the engine.
writer = pd.ExcelWriter('pandas_simple.xlsx', engine='xlsxwriter')
# Convert the dataframe to an XlsxWriter Excel object.
df.to_excel(writer, sheet_name='Sheet1')
# Close the Pandas Excel writer and output the Excel file.
writer.save()