Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 568 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 568 Bytes

Maryk DataFrame helpers

Provides DataFrame helper functions for Maryk Values objects so they can be used in Notebooks to play with the data.

Usage

Convert Maryk Values to DataFrame

val dataFrame = listOf(
    SimpleMarykObject("1", "value1"),
    SimpleMarykObject("2", "value2"),
    SimpleMarykObject("3", "value3")
).toDataFrame()

Convert DataStore Get results to DataFrame

val result = dataStore.execute(
    Person.get(
        person1Key,
        person2Key
    )
)
    
val dataFrame = result.values.toDataFrame()