Open laf070810 opened 2 years ago
I'm running into this error as well (in ServiceX). I'd expect this to do the same thing as output_file['tree'] = {'a': ak.Array([[1.1, 2.2, 3.3], [], [4.4, 5.5]]), 'b': ak.Array([[1.1, 2.2, 3.3], [], [4.4, 5.5]]), 'c': ak.Array([1, 2, 3])}
(which does work).
Noted: this is an important user-expectation. I think I've answered this question on Gitter, too.
I'm a newbie to uproot and encountered some problems when trying to use uproot. Sorry for possible misunderstandings of the usage, though I think my expectation might be reasonable.
Create a jagged array
and save it to a ROOT file
I expect that the saved tree has 3 branches
but actually I got errors
This situation easily happens when reading a TTree with variable length arrays and then saving it back after some manipulations.