extract one value from datframe code example
Example 1: df fetch value
val = d2['col_name'].values[0]
Example 2: get value of a pd for specific values in column
df.loc[df['column_name'].isin(some_values)]
val = d2['col_name'].values[0]
df.loc[df['column_name'].isin(some_values)]