Skip to content

Instantly share code, notes, and snippets.

@alivx
Created May 20, 2020 10:50
Show Gist options
  • Save alivx/b0190201aefd115e27b659f53dda81d3 to your computer and use it in GitHub Desktop.
Save alivx/b0190201aefd115e27b659f53dda81d3 to your computer and use it in GitHub Desktop.
Import Excel to pandas
import pandas as pd
fileName = 'excelFile.xlsx'
sheet1 = pd.read_excel(fileName, sheet_name = 'sheet1')
sheet2 = pd.read_excel(fileName, sheet_name = 'sheet2')
sheet3 = pd.read_excel(fileName, sheet_name = 'sheet3')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment