make a new data frame of rows that meet a certain value code example
Example 1: only keep rows of a dataframe based on a column value
df.loc[df['column_name'] == some_value]
Example 2: generating datafraoms using specific row values
options = [list of specific row entries]
rslt_df = dataframe[dataframe['column_name'].isin(options)]