We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9d023 commit 526b9c7Copy full SHA for 526b9c7
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/columns/DataColumnImpl.kt
@@ -37,7 +37,7 @@ internal abstract class DataColumnImpl<T>(
37
38
override fun hashCode() = hashCode
39
40
- override operator fun get(range: IntRange) = createWithValues(values.subList(range.start, range.endInclusive + 1))
+ override operator fun get(range: IntRange) = createWithValues(values.subList(range.first, range.last + 1))
41
42
protected abstract fun createWithValues(values: List<T>, hasNulls: Boolean? = null): DataColumn<T>
43
}
0 commit comments