I am looking for a solution to place a value based on matching a condition with the column names of the Dataframe.
Example:
A = (5000, 3500) # Column names where I want to place B
B = 'Insert here'  # String to place into Dataframe
Resulting in the empty Dataframe on the left turning into Dataframe: 
Index  3400  3500  4500 5000            Index  3400  3500  4500 5000
3400     x     x     x    x             3400     x     x     x    x
3500     x     x     x    x             3500     x     x     x    x
4500     x     x     x    x             4500     x     x     x    x
5000     x     x     x    x             5000     x     B     x    x
 
    