My code is as follows:
import pandas as pd
df = pd.read_excel(r'C:\Users\user\Desktop\Test.xlsx',header=0,sheet_name=["Site 01","Site 08"],usecols="A:O")
df.to_excel(r'C:\Users\user\Desktop\Test-result.xlsx', index=False)
I get the error:
AttributeError: 'collections.OrderedDict' object has no attribute 'to_excel'