I have a text file with something like a million lines that are formatted like this:
{"_id":"0e1daf84-4e4d-11ea-9f43-ba9b7f2413e0","parameterId":"visib_mean_last10min","stationId":"06193","timeCreated":1581590344449633,"timeObserved":1577922600000000,"value":11100}
The file has no headers. I want to be able to observe it as an array.
I've tried this:
df = pd.read_csv("2020-01_2.txt", delimiter = ",", header = None, names = ["_id", "parameterId", "stationId", "timeCreated", "timeObserved", "value"])
and while that does sort the files into columns and rows like I want it to it will plot "_id":"0e1daf84-4e4d-11ea-9f43-ba9b7f2413e0"
as the first entry where I would only want "0e1daf84-4e4d-11ea-9f43-ba9b7f2413e0"
.
How do I plot only the value that comes after each ":" into the array?