read_excel() got an unexpected keyword argument 'sheetname' code example
Example: typeerror: read_excel() got an unexpected keyword argument
You have a syntax error
Try
y=pandas.read_excel("as.xlsx",sheet_name=0)
You have a syntax error
Try
y=pandas.read_excel("as.xlsx",sheet_name=0)