pandas only show some rows code example Example: select only some rows pandas df.loc[df['column_name'].isin(some_values)]