I have a data.csv file contain 1 column call data trend in json type, each row of it is:
1. [{"period":"11/2020", "UNTPRICE": 49940000,"DIST_UNTPRICE": 30789500},
{"period":"12/2020", "UNTPRICE": 48710000,"DIST_UNTPRICE": 30719773}]
2. [{"period":"12/2020", "UNTPRICE": 28540000,"DIST_UNTPRICE": 27428824}]
3. [{"period":"12/2020", "UNTPRICE": 27428824,"DIST_UNTPRICE": 28540000}]
The question here is how to covert this column to a array like this in python
|UNTPRICE(11/2020)|DIST_UNTPRICE(11/2020)|UNTPRICE(12/2020)|DIST_UNTPRICE(12/2020)|
|-----------------|----------------------|-----------------|----------------------|
| 4994000 | 30789500 | 48710000 | 30719773 |
| NULL | NULL |28540000 |27428824 |
| NULL | NULL |27428824 |28540000 |
sample raw image of csv file