holgerbrandl / krangl

krangl is a {K}otlin DSL for data w{rangl}ing
MIT License
560 stars 50 forks source link

Builder should support mixed numbers in column #84

Closed holgerbrandl closed 4 years ago

holgerbrandl commented 4 years ago

Currently the following fails with a a type expression:

        val sales = dataFrameOf("product", "sales")(
                "A", 32,
                "A", 12.3,
                "A", 24,
                "B", null,
                "B", 44)

It should internally upcast mixed number columns to double