Converting to and from Julia objects
using AwkwardArray
AwkwardArray.to_vector(array)
4-element Vector{Vector{Float64}}:
[1.1, 2.2, 3.3]
[4.4]
[5.5, 6.6]
[7.7, 8.8, 9.9]
AwkwardArray.from_iter(AwkwardArray.to_vector(array))
4-element ListOffsetArray{Vector{Int64}, PrimitiveArray{Float64, Vector{Float64}, :default}, :default}:
[1.1, 2.2, 3.3]
[4.4]
[5.5, 6.6]
[7.7, 8.8, 9.9]
Converting from Python to Julia
PythonCall is currently configured to use the Julia-specific Python distribution installed by the CondaPkg.jl package.
using CondaPkg
CondaPkg.add("awkward")
using PythonCall
const ak = pyimport("awkward")
println(ak.__version__)
2.5.0