Quantcast
Channel: First steps - JuliaLang
Browsing all 2795 articles
Browse latest View live

How to conditionally select values in a dataframe and insert to a new column

@Hmz wrote: Hi everyone, I am trying to create a new dataframe column based on numeric conditions, but cannot seem to figure out the correct syntax to achieve this. For example, to reproduce the issue...

View Article


Image may be NSFW.
Clik here to view.

Symbolic integration

@Stephen wrote: Is there any recommend package to compute the integration of following? Posts: 2 Participants: 2 Read full topic

View Article


How to "collapse" a Vector of Vector?

@tomtom wrote: julia> vv = [[1.0, 2.0], [3.0, 4.0, 5.0], [6.0, 7.0] ] 3-element Array{Array{Float64,1},1}: [1.0, 2.0] [3.0, 4.0, 5.0] [6.0, 7.0] is there an efficient way to transform it into:...

View Article

Web browsing, button clicks, and login. Is it possible by Julia?

@BMval wrote: Would you suggest how I can not just parse HTML page but browse it, but clicking buttons, filling fields, and others? Thank you in advance. Posts: 2 Participants: 2 Read full topic

View Article

Feedback for an API-wrapper

@R.Heijmann wrote: Hi there, I discovered Julia just a couple of hours ago. And wanted to give it a try. Could you give me feedback for my AccuWeather API-wrapper. I still have to find a way to make a...

View Article


Get the argument names of an function

@Elmer_Cusipuma wrote: For an arbitrary function function f(x,y,z=3) p = x+y*z return p end I want to be able take the argument names of f julia> argument_names(f) 3-element Array{Symbol,1}: :x :y...

View Article

Tutorial on using advanced type system in Julia?

@yuxi.liu wrote: Is there a tutorial on advanced use of types in Julia? The manual isn’t enough for me to read advanced abstract type usage in actual packages. Posts: 6 Participants: 5 Read full topic

View Article

Using Laplacians to find fiedler values

@ennvvy wrote: I am trying to find the fiedler value for a directed graph using fiedler command in Laplacians package in Julia. using LightGraphs using Laplacians...

View Article


Average Path Length

@ennvvy wrote: Is there a predefined function in the LightGraphs package to find the average path length of a graph? Posts: 1 Participants: 1 Read full topic

View Article


Why can't I terminate an integrator in DifferentialEquations?

@yuxi.liu wrote: using DifferentialEquations # Dynamical system definition exp(u, p, t) = u # Terminate if out of region isinside(u) = 1.0 < u[1] < 10.0 terminate_condition(u, t, integrator) =...

View Article

Using Julia Autodiff/GPU or tensorflow 2.0

@congUoM wrote: Hi all, I am not new to Julia and I love Julia. Currently for my work project, I have a MATLAB framework and I have to decide on the programming language to use next. For a simple task...

View Article

Package stuck at old version

@NicholasWMRitchie wrote: I’m confused and frustrated. I was beginning to think that I understood the package system. It seems reasonable and rational. However, I’m completely puzzled why I seem to be...

View Article

Exception calling "DownloadFile" with "2" argument(s): "The remote server...

@yuxi.liu wrote: I got this error while installing Blink AtomShell: julia> Blink.AtomShell.install() Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error:...

View Article


Image may be NSFW.
Clik here to view.

Running into a LoadError that is breaking Code

@awiden91 wrote: Hi everyone, I am a JULIA newbie and running into a LoadError that is breaking a .jl file I am trying to run. The error I am getting is LoadError: syntax: invalid escape sequence and...

View Article

Would somebody suggest what is the right to work in a parallel loop and write...

@BMval wrote: Would somebody suggest what is the right to work in a parallel loop and write data to the same Dataframe? Thank you in advance. Posts: 1 Participants: 1 Read full topic

View Article


Julia 1.3 and pyimport("PIL.image")

@hhb wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

How can I get an adjusted "rainbow" colormap using PyPlot

@tyfdzt wrote: The rainbow colormap in PyPlot is like image811×101 34.7 KB I want a “rainbow” like It seems part of “jet” How can I get it? Posts: 1 Participants: 1 Read full topic

View Article


Multithreaded task spreading

@tro3 wrote: Apologies for the simple question. If I keep the number of active Threads.@spawn tasks <= numthreads, will I keep to a more-or-less one task per thread distribution? I am working on a...

View Article

Image may be NSFW.
Clik here to view.

Some beginners questions

@flip101 wrote: Hello i’m new to Julia. I have a couple of questions. Is there a command to start a new project like cargo init (rust). So that it generates some files (Project.toml maybe?). If there...

View Article

Values from Dictionary

@ar12y wrote: hi, I have the following dictionary called “states”: states=Dict{Any,Any}((0, 0) => Array{Any,1}[[[0], (0, 0), Any[0, 0]], [[1], (1, 0), Any[1, 1]]],(1, 0) => Array{Any,1}[[[0],...

View Article
Browsing all 2795 articles
Browse latest View live