I am trying to find a similar sheet name in an excel using pandas.
Currently I am using below code to get dataframe of a sheet in pandas.
excel= pd.ExcelFile(excel)
tab_name = 'Employee'
emp_df= excel.parse(tab_name)
But this code will fail if the sheet name in excel contains any space or some other extra characters.
Is there any easy way to do this ?