dataframe t excel pandas code example
Example 1: pandas read excel
import pandas as pd
pd.read_excel('tmp.xlsx’, sheet_name='Sheet1')
Example 2: Pandas read excel
import pandas as pd
data = pd.read_excel (r'C:\Users\Ron\Desktop\Product List.xlsx')
df = pd.DataFrame(data, columns= ['Product'])
print (df)