how to select multiple colums lies in specific range pandas code example Example: df only take 2 columns df1 = df[['a', 'b']]