-
Notifications
You must be signed in to change notification settings - Fork 69
fix deprecation and possible faulty construction of pandas tables #221
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,6 @@ function _columns(df, columnnames, columntypes) | |
# output a table | ||
# TODO: realising columns to vectors could be done lazily with a different table type | ||
schema = Tables.Schema(colnames, coltypes) | ||
coldict = Dict(k=>v for (k,v) in zip(colnames, columns)) | ||
coldict = Tables.OrderedDict(k=>v for (k,v) in zip(colnames, columns)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good thanks. It unfortunately uses the non-API There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, it's not great but I figured it would be easier on everyone... it's not really an ideal API on the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll think about a PR to Tables to give some of its table types public constructors. |
||
Tables.DictColumnTable(schema, coldict) | ||
end |
Uh oh!
There was an error while loading. Please reload this page.