Julia has a package called PyCall that can call Python. There are PyPlot.jl and PySym.jl that use this, matplotlib and pysym will automatically install these packages The corresponding module is added to Python in Julia.
This time, I investigated doing this manually.
It was written that I often read PyCall's Github page.
using PyCall
pyimport_conda("scipy", "scipy")
The meaning of the argument is not well understood. If you know conda You know.
@pyimport scipy.stats as stats
stats.hmean([1, 2, 4])
If you explicitly specify the Python you want to use when inserting PyCall, It seems that this method can not be used, and as appropriate, the module you want to use as pip I think I need to put it in.
-To draw a scatter plot of arbitrary points in Julia language -Plot the ellipse created by 1/7 in Julia language -Mruby-julia can now call Python from mruby -If you let Julialang make an HTTP2 server -I tried aobench with julia -I tried Japanese word cloud with Julia
Recommended Posts