Getting started
Let's assume that both Python and Julia are installed.
Installation
It is recommended to use conda virtul environment.
Using Julia Awkward Arrays from Python
- To install Awkward Array Python package:
conda install -c conda-forge awkward- To install JuliaCall:
conda install pyjuliacallJuliaCall takes care of installing all necessary Julia packages, including this package.
import awkward as ak
from juliacall import Main as jl
jl.seval("using AwkwardArray")Using Python Awkward Arrays from 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.6.4See Examples.