Version of Awkward Array
2.8.10
Description and code to reproduce
The following code in the zip_no_broadcast() document raise ValueError:
import awkward as ak
one = ak.Array([[1.1, 2.2, 3.3], [], [4.4, 5.5], [6.6]])
two = ak.Array([["a", "b", "c"], [], ["d", "e"], ["f"]])
ak.zip_no_broadcast({"x": one, "y": two}).show()
the exception:
File [Lib\site-packages\awkward\operations\ak_zip_no_broadcast.py:166], in _impl(arrays, parameters, with_name, highlevel, behavior, attrs)
163 for layout in layouts:
164 # get the content of the ListOffsetArray
165 if not isinstance(layout.content, ak.contents.NumpyArray):
--> 166 raise ValueError(
167 "can not (unsafe) zip ListOffsetArrays with non-NumpyArray contents"
168 )
169 contents.append(layout.content)
171 if backend.name == "typetracer":
172 # just get from the first one
173 # we're in typetracer mode, so we can't check the offsets (see else branch)
ValueError: can not (unsafe) zip ListOffsetArrays with non-NumpyArray contents