我有以下时间序列清单作为投入:
const ts1 = [
[ 2023-01-20 , 1],
[ 2023-01-21 , 2],
[ 2023-01-22 , 3],
[ 2023-01-23 , 4],
];
const ts2 = [
[ 2023-01-18 , 5],
[ 2023-01-19 , 6],
[ 2023-01-20 , 7],
[ 2023-01-21 , 8]
];
const ts3 = [
[ 2023-01-21 , 9],
[ 2023-01-22 , 10],
[ 2023-01-23 , 11],
[ 2023-01-24 , 12]
];
我把产出同合并(栏目打)一样:
const output = [
[ 2023-01-18 , null, 5, null],
[ 2023-01-19 , null, 6, null],
[ 2023-01-20 , 1, 7, null],
[ 2023-01-21 , 2, 8, 9],
[ 2023-01-22 , 3, null, 10],
[ 2023-01-23 , 4, null, 11],
[ 2023-01-24 , null, null, 12]
];
为了给更多的环境,我重新使用提供个人时间序列的科技创新工具,我需要汇编所需的表格Data格式。