all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 7 has 1 dimension(s)
('Lengths must match to compare', 'occurred at index trajs_1')
出现以上两个错误多半是你的数据里含有空列表,可以考虑先替换为None或者0然后进行drop