XLRDError: Excel xlsx file; not supported

pandas.read_excel('cat.xlsx', engine='openpyxl')

Here is what the above code is Doing:
1. We’re using the read_excel function from the pandas library to read the contents of the cat.xlsx file.
2. We’re using the engine=’openpyxl’ argument to tell pandas that we want to use the openpyxl library to read the file.
3. We’re storing the contents of the file in a variable called df.