How to take column-slices of dataframe in pandas How to take column-slices of dataframe in pandas numpy numpy