I have the following dataframe.
| City | value | |
|---|---|---|
| 0 | Paris | 10200000 |
| 1 | Beijing | 202000 |
| 2 | New York City | 2000 |
I want to convert it to a list to this format.
Cities = [
{"Paris": 10200000},
{"Beijing": 202000},
{"New York City": 2000}]
How can i achieve it?