Skip to content

Integrate with deedle #3

Open
Open
@forki

Description

type sql = SqlDataProvider<"Data Source=SFORKMANN;Initial Catalog=UWW;Integrated Security=True">

let ctx = sql.GetDataContext()


let debtData = 
    query {for x in ctx.``[dbo].[Test$USDebt]`` do
             select (x.Year,x.Debt) }
    |> Frame.ofRecords
    |> Frame.indexColsWith ["Year"; "Debt"]
    |> Frame.indexRowsInt "Year"
    |> Frame.dropSeries "Year"

It would be super duper awesome if we could find a way for Deedle to infer the column names. Frame.indexColsWith ["Year"; "Debt"] feels a bit strange.

// cc @tpetricek

PS: this type provider ROCKKKS!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions