I have object like this
{2015:1.5,2016:1.5, 2017:1.5,2018:15 ,2019:1}
I want to create 2d array like this way
[[2015,1.5],[2016,1.5],..]
I tried from this but didn't work. how should I do?
EDIT 1:
basically I have 2 data. one consist of array of year and second consist of array of data. [2015,2016] and data is like [1.5,1]. I want to merge like [[2015,1.5],[2106,1]].