Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
114 views

I would like to access a Python package in Ruby using PyCall. The non-blocking function in the Python code below activates a callback. Could you help me implement the callback? #!/usr/bin/env python # ...
Tim's user avatar
  • 3
-2 votes
1 answer
76 views

im new in julia, and i try use PyCall in julia the problem is i cant create new column or add new column. when i run it, i only got 6 columns(before i add new column). This my code using PyCall using ...
1 vote
0 answers
128 views

I have a rails project using pycall and pandas. I use these gems in a dedicated service. It works on production (heroku) and in a local rails console, I can run some data calculations. But in a local ...
1 vote
1 answer
130 views

I am working with a compute-intensive code in Python that manipulates very large data-structures (such as dictionaries of about half a million elements) for the purpose of numerical simulations. In ...
0 votes
1 answer
450 views

I'm trying to call a python function in a file in my ruby on rails application. My python file is located at project_dir/lib/assets/python/the_file.py I'm utilizing PyCall for ruby with the lines: ...
0 votes
1 answer
60 views

I'm trying to access the TexSmart HTTP API https://ai.tencent.com/ailab/nlp/texsmart/en/api.html , where the input text is a dictionary matching the following structure: Dict("str" => &...
1 vote
2 answers
140 views

I need to convert a python script into ruby. I use for that the gems Pandas and Numpy which make the work quite simple. For example I have these kind of lines: # python # DF is a dataframe from Pandas ...
5 votes
1 answer
484 views

I am trying to parallelize a code in python by using multiprocessing.Process which targets a Julia function. The function works fine when I call it directly, i.e. when I execute: if __name__ == "...
1 vote
0 answers
342 views

For performance reasons I would like to wrap Julia functions I am using in Python with the PyCall.pyfunctionret and PyCall.pyfunction wrappers. One of my Julia functions returns an object that is ...
bgro's user avatar
  • 65
0 votes
1 answer
113 views

I'm trying to perform some benchmarking in clustering by various frameworks, But in the case of porting Scikit-learn from python to julia, I can't make it even work. Here is the code: using PyCall ...
Shayan's user avatar
  • 6,722
6 votes
2 answers
864 views

I have not been able to find a way to convert my 30,000 x 1,000 Pandas.jl String DataFrame into a DataFrames.jl DataFrame. I have attempted previous stackoverflow solutions but they have not worked. I ...
0 votes
1 answer
515 views

I am having problems building PyCall in Julia (I am using a Mac). I have the message: julia> Pkg.build("PyCall") Building Conda ─→ ~/.julia/packages/Conda/3rPhK/deps/build.log Building ...
ymg's user avatar
  • 13
1 vote
1 answer
537 views

Say I have a jupyter notebook: %%julia using Pkg Pkg.add("DecisionTree") using DecisionTree X = Vector([1.1,2.2,3.3]) Y = Vector([1.1,2.2,3.3]) X = reshape(X, size(X)) X = Float32.(X) Y = ...
2 votes
0 answers
172 views

I am trying to use weights&biases for my models written in Julia. I am using WeightsAndBiasLogger.jl and try to test their demo code: using Logging, WeightsAndBiasLogger args = (n_epochs=1_000, ...
Bloxx's user avatar
  • 1,560
2 votes
1 answer
415 views

I would like to call a python script, which has one function and this function expects one argument. Could You please advice how to call this python script from Julia terminal with the argument from ...
NykPol's user avatar
  • 61

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /