Slice a Pandas dataframe by an array of indices and column names Slice a Pandas dataframe by an array of indices and column names numpy numpy