-
Notifications
You must be signed in to change notification settings - Fork 372
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 a from_records constructor #1191
Comments
I've wanted this as well. |
Maybe we could implement this as |
If I'm not mistaken, constructing a |
How about simply supporting a |
Good point. Special-casing |
@quinnj How does this issue stand regarding the new Tables.jl constructors? |
We now allow it and generate column names with numbers as symbols due to Tabels.jl functionality. |
I am missing a way to construct a direct way to construct a DataFrame from a list of tuples, as I would do in python with
pandas.DataFrame.from_records
.Input data:
records = [("A", 1), ("B", 2), ("C",
3)]`Desired DataFrame:
I now know that I can do something like
but this feels somehow cumbersome...
The text was updated successfully, but these errors were encountered: