JuliaAI / JuliaAI/ScientificTypes.jl
Get rid of `coerce!` DataFrames hack
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 98
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
At the moment coerce! is a variation of coerce that works in-place for data frames. But to avoid adding DataFrames as a dependency, there is a hack:
Now we have optional dependencies this hack can be removed.
Contributor guide
No contributing guide indexed for this repository
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 by reading the coerce! implementation at src/coerce.jl around line 197 and the Julia package documentation on conditional loading and extensions. Determine how the DataFrames-specific in-place behavior can use an optional dependency instead of the current hack. Done means the hack is removed while coerce! continues to support data frames without making DataFrames a required dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100