Answers for "save multiple sheet excel in python"

1

how to read excel file with multiple sheets in python

xls = pd.ExcelFile('path_to_file.xls')
df1 = pd.read_excel(xls, 'Sheet1')
df2 = pd.read_excel(xls, 'Sheet2')
Posted by: Guest on May-14-2020
0

python code to save data with multiple sheet in excel

import pandas as pd
import numpy as np


df_1 = pd.DataFrame(np.random.rand(20,10))
df_2 = pd.DataFrame(np.random.rand(10,1))
Posted by: Guest on January-21-2022

Code answers related to "save multiple sheet excel in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language