Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NA and NaN docs #411

Merged
merged 3 commits into from
Jun 21, 2023
Merged

NA and NaN docs #411

merged 3 commits into from
Jun 21, 2023

Conversation

Jolanrensen
Copy link
Collaborator

#109

I added docs and references to it from other files + kdocs.

I don't know where to put this file in the tree, however.... It's not an operation, it's closest to a data abstraction maybe, but not entirely. I made it a separate tab for now.

@Jolanrensen Jolanrensen added the documentation Improvements or additions to documentation (not KDocs) label Jun 20, 2023
@Jolanrensen Jolanrensen added this to the 0.11.0 milestone Jun 20, 2023
@Jolanrensen Jolanrensen self-assigned this Jun 20, 2023
@koperagen
Copy link
Collaborator

You want to add only interfaces with kdocs for now, right? And reference it from related operations later. Just making sure. Otherwise looks good.

@Jolanrensen
Copy link
Collaborator Author

You want to add only interfaces with kdocs for now, right? And reference it from related operations later. Just making sure. Otherwise looks good.

The NA and NaN interfaces are already referenced to from fillNA, dropNA etc. in the code :) People can click on the reference to read more about the concepts. I just updated them with a URL.

@@ -19,6 +19,17 @@ internal interface DocumentationUrls {
interface RowConditions
}

/** [See `NaN` and `NA` on the documentation website.](https://kotlin.github.io/dataframe/nanAndNa.html) */
Copy link
Collaborator

@zaleslaw zaleslaw Jun 21, 2023

Choose a reason for hiding this comment

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

Looks like a new pattern to refer on the Documentation site. Is it correct that we did not do it earlier?
It seems good idea, but probably let's discuss it widely.

Because it looks like adding yet one detail to the hierarchy of documents produced by your plugin

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it was used before in Update.kt and Nulls.kt, you can see the other URLs in the file ;)

Copy link
Collaborator

Choose a reason for hiding this comment

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

For now I see, thanks

@@ -35,6 +35,7 @@
<toc-element topic="DataColumn.md"/>
<toc-element topic="DataRow.md"/>
</toc-element>
<toc-element topic="nanAndNa.md"/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

probably better to move under operations (for first time)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But it's not an operation. I'm not comfortable having it there, seems weird. Probably we can find a better place after restructuring the docs/flattening them.

docs/StardustDocs/topics/nanAndNa.md Show resolved Hide resolved
@Jolanrensen Jolanrensen merged commit b542198 into master Jun 21, 2023
2 checks passed
@Jolanrensen Jolanrensen deleted the na-and-nan-docs branch June 21, 2023 15:28
@zaleslaw zaleslaw removed this from the 0.11.0 milestone Jun 22, 2023
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.

None yet

3 participants