how to get a single value in a pandas dataframe code example Example: get value of a pd for specific values in column df.loc[df['column_name'].isin(some_values)]