New API function to convert `ValueColumn<DataFrame<*>?>` -> `FrameColumn`
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.1k
- Forks
- 83
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 30
Description
Idea from: https://github.com/Kotlin/dataframe/pull/1847#issuecomment-4406279928
As some functions only work with FrameColumn and ValueColumn<DataFrame<*>> should probably not be allowed (https://github.com/Kotlin/dataframe/issues/1852, https://github.com/Kotlin/dataframe/issues/1854#issuecomment-4420250555),
we might need some easy-to-discover functions to convert between them besides fillNulls {}.
Convert<T, AnyFrame?>.toFrameColumn(fillNullsWith: DataRow<T>.() -> AnyFrame = DataFrame.empty())convertToFrameColumn(fillNullsWith: DataRow<T>.() -> AnyFrame = DataFrame.empty())
or maybe even more direct:toFrameColumn(fillNullsWith: DataRow<T>.() -> AnyFrame = DataFrame.empty())
something like that
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked pull request comment and issues #1852 and #1854, then compare the existing fillNulls {} conversion path. Done means selecting one discoverable API shape and verifying its fillNullsWith behavior for converting ValueColumn<DataFrame<*>> to FrameColumn.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api, data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100