wiseaidev / wiseaidev/rust-data-analysis
[Feature💄]: Make code DRY
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 475
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
👶 Getting Started
Please search the history to see if an issue already exists for the same problem.
- I have searched the existing issues.
- I have tested the latest version.
📝 Describe the feature
There is a lot of code repetition, especially in tutorial 5 when it comes to drawing. We should create a function that takes multiple vectors as input, the drawing function, LineSeries in this case, colors, title, legend, etc.
📸 Screenshots
N/A
🔦 Context
Adhere to the DRY principle.
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 5-probability-theory-tutorial.ipynb and inspect the repeated drawing code, especially the uses of LineSeries. Identify the shared drawing inputs named in the issue, then check that the tutorial still produces the intended charts and that the repeated setup has been consolidated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, rust
- Domain
- data-visualization
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100