Kotlin / dataframe

Structured data processing in Kotlin
https://kotlin.github.io/dataframe/overview.html
Apache License 2.0
769 stars 48 forks source link

`joinWith` method is missing #584

Closed devcrocod closed 4 months ago

devcrocod commented 4 months ago

I tried to use this: https://kotlin.github.io/dataframe/joinwith.html

But joinWith is unresolved.

Syntax Error: Unresolved reference: joinWith
Jolanrensen commented 4 months ago

image No it isn't. Can you share an example where it's unresolved?

devcrocod commented 4 months ago
val df1 = dataFrameOf(
    "A" to listOf("A0", "A1", "A2"),
    "B" to listOf("B0", "B1", "B2"),
    "index" to listOf("I0", "I1", "I2")
)

val df2 = dataFrameOf(
    "C" to listOf("C0", "C2", "C3"),
    "D" to listOf("D0", "D2", "D3"),
    "index" to listOf("I0", "I2", "I3")
)

df1.joinWith(df2, type = JoinType.Full) { true }

I'm working in Datalore

devcrocod commented 4 months ago

Okay, seems on Datalore has old version of dataframe

Jolanrensen commented 4 months ago

Can reproduce it on Datalore. You're right. %useLatestDescriptors fixes it there.

zaleslaw commented 4 months ago

@Jolanrensen what version has the Datalore?

devcrocod commented 4 months ago

The Datalore for new notebooks uses

Name: kotlin-jupyter-kernel
Version: 0.11.0.377

and the dataframe is the version included in this kernel