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

Map<String, Any?>.toDataRow() function? #719

Open
Jolanrensen opened this issue Jun 4, 2024 · 0 comments
Open

Map<String, Any?>.toDataRow() function? #719

Jolanrensen opened this issue Jun 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Jolanrensen
Copy link
Collaborator

DataFrame has the function pair:
Map<String, Iterable<Any?>>.toDataFrame() and AnyFrame.toMap(): Map<String, List<Any?>>

But for DataRow there's just: AnyRow.toMap(): Map<String, Any?>.

Especially in notebooks it might be helpful to be able to convert a simple Map to a DataRow to get generated accessors.
It might also make notations like #710 possible (so to construct a DataFrame from rows instead of from columns, albeit at a performance cost).

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

No branches or pull requests

1 participant