Appending Pandas DataFrame to existing Excel document
问题 Per https://github.com/pandas-dev/pandas/pull/21251/files/09e5b456e1af5cde55f18f903ab90c761643b05a, we should be able to append DataFrames to new XLSX sheets. Based on the documentation, I tried the following: >>> import pandas as pd >>> ... d1 = pd.DataFrame({"A":['Bob','Joe', 'Mark'], ... "B":['5', '10', '20']}) >>> d2 = pd.DataFrame({"A":['Jeffrey','Ann', 'Sue'], ... "B":['1', '2', '3']}) >>> >>> # Create XLSX document for ticker ... writer = pd.ExcelWriter('test.xlsx',engine='openpyxl') >