Note that I often forget how to extract columns conditionally from pandas column names
new_list.py
new_list = [x for x in data.columns if 'liquid_' in x] display(df[new_list])
Recommended Posts