Below is the dataframe built in python, is there a way to convert to Dictionary for specific column. Refer expected output
df4 = pd.DataFrame({\'ColA\' : [\'A