-
Notifications
You must be signed in to change notification settings - Fork 63
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
Explain the use-case for toDataFrame(columnName) in docs #837
Conversation
@@ -153,6 +153,12 @@ df.add("length") { value.length } | |||
|
|||
Creates a [`DataFrame`](DataFrame.md) from [`Iterable<T>`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/) with one column: | |||
"columnName: `DataColumn<T>`". | |||
An easy way to create a [`DataFrame`](DataFrame.md) when you have a list of File, URL or a structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...from an Iterable...
This is an easy way...
..list of Files
, URLs
, or any kind of structure you want...
In a notebook, ... see the number of rows...
..with the parts of the data you're...
It could be the File
's content, a specific section of an HTML
document, some metadata, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oopsie. Thank you, fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spellcheck Jolan present :)
It's a good idea to include this in the new features notebook indeed. It's a nice use-case, unique to DF, to be able to store a File
object inside a dataframe and work with it later! Good job :D
5c1bc71
to
2eb5c66
Compare
2eb5c66
to
767f20a
Compare
A step to instigate ideas about how api can be used