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