SyntaxFix
Write A Post
Hire A Developer
Questions
You can turn your 1x1 dataframe into a numpy array, then access the first and only value of that array:
val = d2['col_name'].values[0]