IJulia is a Julia-language backend combined with the Jupyter interactive environment (also used by IPython). This combination allows to interact with the Julia language using Jupyter/IPython's powerful notebook, which combines code, formatted text, math, and multimedia in a single document.
Questions tagged [ijulia-notebook]
198 questions
2
votes
1 answer
How to filter data from CSV based on a the value of a colum
I have been trying to filter a data set of 100 entry points based on the value of the first column on the data set to create two separate variables with my data.
The values are filtered based on a zero or a 1 and then I want to store the rest of the…

KeyboardHunter
- 81
- 3
2
votes
1 answer
How to add a package in Julia
While adding a new package I get the following error on Julia.
julia> Pkg.add("IJulia")
Resolving package versions...
ERROR: SystemError: opening file C:\Users\ARPAN\.juliapro\JuliaPro_v1.0.3.1\registries\JuliaPro\C\Co
lor\Versions.toml: No such…

Arpan Dalal
- 29
- 2
2
votes
1 answer
Julia Langauge Differential Equations example
I tried playing around with this example in the Julia documentation. My attempt was to make the cell split into two parts that have half of the amount of protein each, so I set Theta=0.5. However, the plot looks like this:
It is obvious that the…

Fabulini
- 171
- 1
- 3
- 11
2
votes
1 answer
Problems with DataFrame to generate a table of 15000 rows x 37 columns in Julia
I'm trying to generate a table with 15000 rows and 16 columns, however Julia loses or omits some variables.
I have tried different ways to run DataFrame but I get the following results:
df = DataFrame(periods=15000, households=5000,…

Andrés Vaca
- 33
- 5
2
votes
1 answer
How do you add Jupyter Notebook kernels for prior versions of Julia?
I am using a Windows machine and trying to have Jupyter Notebook kernels for multiple versions of Julia (0.7.0 and 1.1.1) because package AWS does not support the latest version, but does support 0.7.0.
I had Julia 1.1.1 installed on my computer…

Natalie Olivo
- 439
- 4
- 11
2
votes
1 answer
How can I use universal and existential quantification in julia?
I want to code domination definition in Julia. x dom y. x , y are 2 vectors.
b=all(x<=y) && any(x

Soma
- 743
- 6
- 19
2
votes
1 answer
Is there any function such as repmat for struct in julia?
would you please help me. I want to produce a population of struct in Julia.In matalab,we can use repmat for a structure. but in Julia it is impossible. is there any function like repmat in Julia?
for example:
npop=20;
struct individual
…

Soma
- 743
- 6
- 19
2
votes
2 answers
Fractions for variables names in Julia
In julia you can write subscripts by \_ for variable names. I was wondering if there is anything similar for writing fractions in variable names. Something like \frac{}{} in LaTeX. I understand this may be harder as it takes two arguments. If there…

ztyh
- 401
- 5
- 11
2
votes
2 answers
Julia Key Error when accessing a value in dictionary
When trying to run this code Julia keeps giving me the error message "KeyError: key 18=>63 not found" anytime I try to access demand[i]. It seems that this error happens every time the element in dem is larger than 50.
using JuMP, Clp
hours =…

mmcook
- 23
- 1
- 3
2
votes
0 answers
Install IJulia on Julia 1.0.0
I just installed Julia and would now like to install the IJulia notebook. However, compilation fails:
julia> Pkg.build("IJulia")
Building Conda ──→ `~/.julia/packages/Conda/m7vem/deps/build.log`
Building ZMQ ────→…

Luís de Sousa
- 5,765
- 11
- 49
- 86
2
votes
1 answer
How to easily check the implementation of embeded functions in Julia language?
In Matlab, it is possible to check how (most?) of the embeded functions are implemented by typing edit function_name. The mentioned command open function_name code in editor.
I wonder if there's similar way in Julia language (for example how…

matandked
- 1,527
- 4
- 26
- 51
2
votes
1 answer
Error when using ismatch() function with regex in Julia
I'm trying to do a very simple program to find matches with ismatch() function in Julia. Suppose my pattern is
e_pat = r".+@.+"
Then I make a list called input with some random elements:
input= ["pipo@gmail.com", 23, "trapo", "holi@gmail.com"]
Now…

Alejandro Carrera
- 513
- 1
- 4
- 14
2
votes
0 answers
Installing Jupyter Notebook for Julia in Windows 10
In Windows 10, I have done the following steps:
1º Install Julia.
2º In Julia shell:
Pkg.add("Ijulia")
INFO: Package IJulia is already installed
3º Launch the jupyter notebook from the Anaconda Prompt:
jupyter notebook
Then, the jupyter …

mjcmsp
- 63
- 6
2
votes
2 answers
Parallel code for asynchronous multiple calculations in Julia
I know this might have been asked in the past but I am an absolute beginner in Julia.
I have a simple code in Julia that I would like to run in parallel.
#--Two Calculations during the Loop--
vt_0=0
ct_0=0
for i=1:10
#--Calculation vt_1
…

Gunnar
- 105
- 5
2
votes
1 answer
Building error with IJulia
I used to use Julia in Jupyter notebook. I uninstalled yesterday the .julia directory because of other issues and after Pkg.add(IJulia) Im getting a building error related to ZMQ. the full error is below.
julia> Pkg.build("ZMQ")
INFO: Building…

Pau
- 147
- 1
- 1
- 11