I am trying to copy a column from an excel sheet into an array using pandas but am getting the following error:
read_excel() got an unexpected keyword argument 'sheetname'
Here is the code I am using:
df = pd.read_excel('Processed_Results_MO.xslx', sheetname='25%')
my_array = df['Methane Output (GJ/y)'].toarray()
sheet_name