get dataframe value by row and column code example
Example 1: df fetch value
val = d2['col_name'].values[0]
Example 2: how to use loc and iloc in pandas
>>> df.iloc[0, 1]
2
val = d2['col_name'].values[0]
>>> df.iloc[0, 1]
2