Skip to content

Commit ae48713

Browse files
committed
Avoid wrapping of column groups by dataFrameOf() in convertToDataFrame() to align rendering with column access and make it conform to the structure of data
1 parent 1effeac commit ae48713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/KotlinNotebookPluginUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ public object KotlinNotebookPluginUtils {
233233

234234
is FormattedFrame<*> -> dataframeLike.df
235235

236-
is AnyCol -> dataFrameOf(dataframeLike)
236+
is AnyFrame -> dataframeLike
237237

238238
is AnyRow -> dataframeLike.toDataFrame()
239239

240240
is GroupBy<*, *> -> dataframeLike.toDataFrame()
241241

242-
is AnyFrame -> dataframeLike
242+
is AnyCol -> dataFrameOf(dataframeLike)
243243

244244
is DisableRowsLimitWrapper -> dataframeLike.value
245245

0 commit comments

Comments
 (0)