Julia with DataFrames and Queryverse on CoCalc
shell commands - one-time setup
open a .term file
Jupyter notebook... follow the steps below
select Julia 1.x Jupyter kernel
Note that using Queryverse
takes up to 10 minutes the first time, about 30 seconds after that
References
YouTube video Intro to the Queryverse, a Julia data science stack | David Anthoff
VegaLite example is from GitHub VegaLite.jl
- Hal Snyder
name | age | children | |
---|---|---|---|
String | Float64 | Int64 | |
1 | John | 23.0 | 3 |
2 | Sally | 42.0 | 5 |
3 | Kirk | 59.0 | 2 |
Name | |
---|---|
String | |
1 | sally |
Miles_per_Gallon | Cylinders | Origin | Weight_in_lbs | Displacement | Acceleration | Name | Year | Horsepower | |
---|---|---|---|---|---|---|---|---|---|
Float64⍰ | Int64 | String | Int64 | Float64 | Float64 | String | String | Int64⍰ | |
1 | 18.0 | 8 | USA | 3504 | 307.0 | 12.0 | chevrolet chevelle malibu | 1970-01-01 | 130 |
2 | 15.0 | 8 | USA | 3693 | 350.0 | 11.5 | buick skylark 320 | 1970-01-01 | 165 |
3 | 18.0 | 8 | USA | 3436 | 318.0 | 11.0 | plymouth satellite | 1970-01-01 | 150 |
⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
Miles_per_Gallon | Cylinders | Origin | Weight_in_lbs | Displacement | Acceleration | Name | Year | Horsepower | |
---|---|---|---|---|---|---|---|---|---|
Float64⍰ | Int64 | String | Int64 | Float64 | Float64 | String | String | Int64⍰ | |
1 | 15.0 | 8 | USA | 4341 | 429.0 | 10.0 | ford galaxie 500 | 1970-01-01 | 198 |
2 | 14.0 | 8 | USA | 4354 | 454.0 | 9.0 | chevrolet impala | 1970-01-01 | 220 |
3 | 14.0 | 8 | USA | 4312 | 440.0 | 8.5 | plymouth fury iii | 1970-01-01 | 215 |
⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
use Command line Julia and X11 mode for Voyager
commands
open .x11 file in CoCalc
in terminal pane (upper left), type the following
UI operations
Click in "Data Voyager" title bar to get pointer focus in that pane
In Fields menu, hover cursor over "+" to right of "A Cylinders" until it highlights, then drag into Encoding column, "x" value.
In Fields menu, hover cursor over "+" to right of "# Horsepower" until it highlights, then drag into Encoding column, "y" value.
Observe display of Horsepower vs. Cylinders.
screen capture
Watch the YouTube video Intro to the Queryverse, a Julia data science stack by David Anthoff