# Capitalize first letter of a column in Pandas dataframe in Python # Create a simple dataframe   # importing pandas as pdimport pandas as pd     # creating a dataframedf = pd.DataFrame({'A': ['john', 'bODAY', 'minA', 'Peter', 'nicky'],                  'B': ['masters', 'graduate', 'graduate',                                   'Masters', 'Graduate'],                  'C': [27, 23, 21, 23, 24]})   df