You can read the excel file using pd.read_excel. You need to care about the header is there are some or not.
As you said, it returns a dataframe. In my case, I have the following.
df = pd.read_excel("data.xlsx")
print(df)
# name message
# 0 John I have a dog
# 1 Mike I need a cat
# 2 Nick I go to school
Then, it's possible to have the values of the dataframe using to_numpy. It return a numpy array.
If you want a list, we use the numpy method tolist to convert it as list:
out = df.to_numpy().tolist()
print(out)
# [['John', 'I have a dog'],
# ['Mike', 'I need a cat'],
# ['Nick', 'I go to school']]
As you can see, the output is a list of list. If you want a list of tuples, just cast them:
# for getting list of tuples
out = [tuple(elt) for elt in out]
print(out)
# [('John', 'I have a dog'),
# ('Mike', 'I need a cat'),
# ('Nick', 'I go to school')]
Note:
An older solution was to call values instead of to_numpy(). However, the documentation clearly recommends using to_numpy and forgive values.
Hope that helps !