pandas excel sheet name 1

pandas excel sheet name

 df = pandas.read_excel("/yourPath/FileName.xlsx", None);
  df.keys()

Here is what the above code is Doing:
1. Importing the pandas library
2. Reading the excel file into a dataframe
3. Getting the keys of the dataframe

The keys of the dataframe are the names of the sheets in the excel file.

Similar Posts