df columns to list pandas code example
Example 1: python - convert a column in a dataframe into a list
myvar_list = df["myvar"].tolist()
Example 2: get dataframe column into a list
df_gearME = pd.read_excel('Gear M&Es.xlsx')
df_gearME['ColA'].to_list()