Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement describe() method for an IndexedTable instance #294

Open
chiraganand opened this issue Feb 25, 2022 · 0 comments
Open

Implement describe() method for an IndexedTable instance #294

chiraganand opened this issue Feb 25, 2022 · 0 comments

Comments

@chiraganand
Copy link

chiraganand commented Feb 25, 2022

This is what DataFrames does. Perhaps, IndexedTable could use the same formatting with an additional field for showing whether variable is a primary key or not.

julia> describe(df)
2×8 DataFrame
│ Row │ variable │ mean    │ min    │ median  │ max    │ nunique │ nmissing │ eltype   │
│     │ Symbol   │ Float64 │ Real   │ Float64 │ Real   │ Nothing │ Nothing  │ DataType │
├─────┼──────────┼─────────┼────────┼─────────┼────────┼─────────┼──────────┼──────────┤
│ 1   │ year     │ 1923.5  │ 1875   │ 1923.5  │ 1972   │         │          │ Int64    │
│ 2   │ value    │ 579.004 │ 575.96 │ 579.12  │ 581.86 │         │          │ Float64  │
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant