Real simple question that I cant seem to get. For the following single column DF:
Cost
1
What syntax would I use to print "Cost = 1". i know print df['Cost'] would be 1. But i want the column name to be in the output.
Real simple question that I cant seem to get. For the following single column DF:
Cost
1
What syntax would I use to print "Cost = 1". i know print df['Cost'] would be 1. But i want the column name to be in the output.