I had the following code working perfectly fine on pandas 1.1.5 and openpyxl 3.0.5:
import pandas as pd from openpyxl import load_workbook from pathlib import Pat