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

Support the Case of Matrix{Any} as Data and Vector{Any} as Header #2858

Closed
RoyiAvital opened this issue Sep 5, 2021 · 1 comment · Fixed by #2859
Closed

Support the Case of Matrix{Any} as Data and Vector{Any} as Header #2858

RoyiAvital opened this issue Sep 5, 2021 · 1 comment · Fixed by #2859
Labels
Milestone

Comments

@RoyiAvital
Copy link

I have data as a Matrix{Any} (Data of integers, floats and strings) and Vector{Any} (Actually strings). I can create a table from them by tTestData = Tables.table(mTestData; header = vTestHeader);.
Yet I can't create a data frame by dfTMP = DataFrame(mTestData, vTestHeader);.
I can by pass it by dfTMP = DataFrame(tTestData);.

I think if Tables.jl can generate a table from the data so should DataFrames.jl.

@bkamins
Copy link
Member

bkamins commented Sep 6, 2021

@RoyiAvital Can you please test #2859 before I merge it if it works as you would expect? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants