Skip to content

TypeScript code snippet – 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')
See also  Python code snippet - How to append two numpy arrays?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.