So I have to do some data analysis on a data-set. The data is handed to me as a .json file. (I am using Pandas to handle the data)
"columns":["id","timestamp","offset_freq","reprate_freq"]
"index":[0,1,2,3,4 ... ]
I want to be able to handle the data as regular vectors like so.
id = [ ... ]
timestamp = [ ... ]
offset_freq = [ ... ]
reprate_freq = [ ... ]
But if I import my .json file with.
data=pd.read_json("comb_201601.json", orient='split')
And print one of the columns I get:
print(data['offset_freq'])
0 20000000.495
1 19999998.966
2 20000000.910
3 19999998.539
4 20000000.887
5 19999999.694
...
680204 20000000.024
Name: offset_freq, dtype: float64
What can I do to just get
print(data['offset_freq'])
20000000.495
19999998.966
20000000.910
19999998.539
20000000.887
19999999.694
...
20000000.024