Skip to content

Conversation

dmcg
Copy link
Contributor

@dmcg dmcg commented Oct 16, 2024

No description provided.

@zaleslaw
Copy link
Collaborator

Thanks for suggestion @dmcg ! We will revisit our examples of code and see how better to say about immutability!

Copy link
Collaborator

@Jolanrensen Jolanrensen left a comment

Choose a reason for hiding this comment

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

It does mention "immutable", right above this example part, haha. But it doesn't hurt to change it like this. People often only look at examples and recommending to put DataFrame operation results in a new variable does hint at them being immutable.


// add column
df.add("birthYear") { 1912 - age }
val withBirthYearColumen = df.add("birthYear") { 1912 - age }
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo

@Jolanrensen Jolanrensen added the documentation Improvements or additions to documentation (not KDocs) label Oct 28, 2024
@Jolanrensen Jolanrensen added this to the Docs infrastructure milestone Oct 28, 2024
@Jolanrensen Jolanrensen merged commit c66d4b3 into Kotlin:master Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation (not KDocs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants