I have a list of lists, a sample of which is pasted below. I would like to convert this to a pandas data frame but the list contains many duplicates. How would I remove duplicates from a list of lists like this and convert to a data frame with two columns: timestamp and price?
[[{'timestamp': 1648558320942, 'price': 47876.0}, {'timestamp': 1648558320942, 'price': 47876.0}], [{'timestamp': 1648558321945, 'price': 47881.0}, {'timestamp': 1648558321945, 'price': 47881.0}, {'timestamp': 1648558321945, 'price': 47881.0}], [{'timestamp': 1648558326768, 'price': 47876.0}]]