pandas newddata frame only rows with certain values code example
Example: generating datafraoms using specific row values
options = [list of specific row entries]
rslt_df = dataframe[dataframe['column_name'].isin(options)]
options = [list of specific row entries]
rslt_df = dataframe[dataframe['column_name'].isin(options)]