Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Jolanrensen
Copy link
Collaborator

@Jolanrensen Jolanrensen commented Jul 18, 2023

As described in the issue: #297

Also adds some small KDocs utils borrowed from continued-columnsselectiondsl

@Jolanrensen Jolanrensen added enhancement New feature or request KDocs Improvements or additions to KDocs labels Jul 18, 2023
@Jolanrensen Jolanrensen self-assigned this Jul 18, 2023
@Jolanrensen Jolanrensen requested review from koperagen and removed request for koperagen July 21, 2023 10:53
)

col.sortWith { df1, df2 -> df1.nrow - df2.nrow } shouldBe sortedCol
col.sortWith(Comparator { df1, df2 -> df1.nrow - df2.nrow }) shouldBe sortedCol
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to use factory function compareBy for creating Comparator

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, it's just a test, but a bit shorter indeed

@Jolanrensen Jolanrensen merged commit 0680665 into master Aug 3, 2023
@Jolanrensen Jolanrensen deleted the sort-with branch August 3, 2023 10:12
@zaleslaw zaleslaw added this to the 0.12.0 milestone Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request KDocs Improvements or additions to KDocs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants