Skip to content

Commit 1082586

Browse files
committed
Merge branch 'master' into median
2 parents da07f3b + 3d15421 commit 1082586

File tree

2 files changed

+4
-5
lines changed
  • core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api
  • docs/StardustDocs/topics

2 files changed

+4
-5
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/median.kt

+1-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import kotlin.reflect.KProperty
3434
*
3535
* TODO cases where the lambda dictates the return type require explicit type arguments for
3636
* non-number, comparable overloads: https://youtrack.jetbrains.com/issue/KT-76683
37-
* so, `df.median { intCol }` works, but needs `df.median<_, String> { stringCol }`
37+
* so, `df.median { intCol }` works, but needs `df.median<_, String> { stringCol }` or `df.median({ dateCol })`
3838
* This needs to be explained by KDocs
3939
*
4040
* medianBy is new for all overloads :)
@@ -541,7 +541,3 @@ public inline fun <T, reified C : Comparable<C & Any>?> PivotGroupBy<T>.medianBy
541541
): ReducedPivotGroupBy<T> = medianBy(column.toColumnAccessor(), skipNaN)
542542

543543
// endregion
544-
545-
// region binary compatibility
546-
// TODO
547-
// endregion

docs/StardustDocs/topics/add.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
Returns [`DataFrame`](DataFrame.md) which contains all columns from original [`DataFrame`](DataFrame.md) followed by newly added columns.
66
Original [`DataFrame`](DataFrame.md) is not modified.
77

8+
`add` appends columns to the end of the dataframe by default.
9+
If you want to add a single column to a specific position in the dataframe, use [insert](insert.md).
10+
811
## Create a new column and add it to [`DataFrame`](DataFrame.md)
912

1013
```text

0 commit comments

Comments
 (0)