selecting multi columns in dataframe code example Example: select multi columns pandas df1 = df[['a', 'b']]