wiseaidev / wiseaidev/rust-data-analysis

[Feature💄]: Make code DRY

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue hacktoberfest
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.