File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package org.jetbrains.kotlinx.dataframe.api
33import org.jetbrains.kotlinx.dataframe.AnyRow
44import org.jetbrains.kotlinx.dataframe.DataColumn
55import org.jetbrains.kotlinx.dataframe.DataFrame
6- import org.jetbrains.kotlinx.dataframe.DataRow
76import org.jetbrains.kotlinx.dataframe.impl.api.convertTo
87import org.jetbrains.kotlinx.dataframe.impl.columnName
98import org.jetbrains.kotlinx.dataframe.impl.owner
@@ -13,7 +12,7 @@ import kotlin.reflect.typeOf
1312
1413// region DataRow
1514
16- public fun < T > DataRow<T> .transpose (): DataFrame <NameValuePair <* >> {
15+ public fun AnyRow .transpose (): DataFrame <NameValuePair <* >> {
1716 val valueColumn = DataColumn .createByInference(NameValuePair <* >::value.columnName, values)
1817 val nameColumn = owner.columnNames().toValueColumn(NameValuePair <* >::name.name)
1918 return dataFrameOf(nameColumn, valueColumn).cast()
You can’t perform that action at this time.
0 commit comments