in one of my scripts I\'m selecting several columns of a dataframe, by a list of the column names. The following code works:
data = df[lst]
Use * with list
*
data = df[[*lst]]
It will give the desired result.