You can use loc[] to select specific rows and columns by providing row and column labels as arguments. For example, df.loc[[1, 2, 3], ['column1', 'column2']]