Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python export multiple dataframes to excel

with pd.ExcelWriter("Data 2016.xlsx") as writer:
    data.to_excel(writer, "Stock Prices")
    correlations.to_excel(writer, "Correlations")
    data.pct_change().mul(100).to_excel(writer, "Daily Changes")
Source by pythonbasics.org #
 
PREVIOUS NEXT
Tagged: #python #export #multiple #dataframes #excel
ADD COMMENT
Topic
Name
8+6 =