Skip to content

SQL interface to DataFrame? #3479

Description

@tk3369

Has anyone thought about taking SQL as query interface for data frames?

For example, doing something like this:

julia> df = DataFrame(x = rand(1:3, 10), y = rand(10))
10×2 DataFrame
 Row │ x      y         
     │ Int64  Float64   
─────┼──────────────────
   12  0.589515
   21  0.72848
   32  0.344321
   41  0.900515
   52  0.667395
   62  0.0749464
   72  0.916652
   81  0.460028
   93  0.284116
  103  0.662666

julia> sql("select x, count(*) from df group by 1", (:df => df))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions