In Python, I have the code below that reads all files with sheet name 'EA'
:
df = pd.read_excel(file_, sheet_name='EA')
The problem is that there are slight variations in some of the files, for example some sheets are named EA 1
, EA X
, etc.
Is there a way to write the code to basically say 'include sheet names that have EA
in their name'?