dataframe icon indicating copy to clipboard operation
dataframe copied to clipboard

Document and test DataColumnArithmetics.kt

Open Jolanrensen opened this issue 2 years ago • 2 comments

DataFrame supports many DataColumn arithmetics like /, +, *, etc. but they are undocumented (both in KDocs and on the website).

This should be done and made sure it's discoverable.

~Also, ! is missing for boolean columns.~

Jolanrensen avatar Dec 06 '23 14:12 Jolanrensen

AI likes to think it's possible to write colA + colB: pairwise operations. At the moment we only support colA + value, but it may be worth considering the other notation as well.

There are some downsides though; there would need to be quite a few overloads for this, combining all number types etc.

Jolanrensen avatar Sep 30 '25 10:09 Jolanrensen

Please refer to this discussion when implementing https://github.com/Kotlin/dataframe/pull/1617

koperagen avatar Dec 08 '25 17:12 koperagen