access value pandas column given in a column code example Example: df fetch value val = d2['col_name'].values[0]