I have an example json dataset as :
['[{"id":"123","product":"dell","date":"2019-01-01","sales":5,"created_at":"2019-01-26 15:00:00"}, {"id":"124","product":"apple","date":"2019-01-02","sales":7,"created_at":"2019-01-27 15:00:00"}]']
I would like to create a pandas dataframe from this json data but when i use the json_normalize method i get AttributeError: 'str' object has no attribute 'values'.
The expected output should be like this:
id product date sales created_at
123. dell. 2019-01-01. 5. 2019-01-26 15:00:00
124. apple. 2019-01-02. 7. 2019-01-27 15:00:00