You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
Additionally, we should allow adding unfolding features like maxDepth to unpack properties. Plus, for large maps, it might be preferable to make a KeyValueDataFrame instead of a DataRow.
Something like this? maybe something more efficient tho
DataFrame has the function pair:
Map<String, Iterable<Any?>>.toDataFrame()
andAnyFrame.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 aDataRow
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).
The text was updated successfully, but these errors were encountered: