Skip to content

A Julia query language framework that promises you conciseness, efficient and extensibility.

License

Notifications You must be signed in to change notification settings

thautwarm/Wanderer.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wanderer

Latest

Build Status Codecov Coveralls

using Wanderer

DataSource = Dict(
    :a => [1, 2, 3, 4],
    :b => [2, 3, 4, 6],
    :c => [3, 4, 5, 6]
)

df = DataSource |>
       @select _, _.a + _.b + _.c => "a + b + c",
       @where _."a + b + c" !== missing,
       @groupby _."a + b + c" / _.a => key,
       @having key != 4.5,
       @orderby _.a |> length,
       @select sum(_."a + b + c") => sum, _.key => key,
       @limit 2

outputs:

Dict{Symbol,Array{T,1} where T} with 2 entries:
  :key => [6.0, 4.0]
  :sum => [6, 28]

About

A Julia query language framework that promises you conciseness, efficient and extensibility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages