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