Issue with transformatoin Time series data transformation

Hello , I just start to use grafana I found the example in [Multi-frame time series] is what i want to achieve


but when I tried with my testing data

the function is creating muti data frame instead of a long table