Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Warn learners about "setting on copy"

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

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

No file or test is named in the issue. Start by locating the lesson section on chained indexing or assignments such as df[“a”][“b”] = 5; done means the lesson contains a short, dedicated warning that explains the warning and the risk of modifying a copy.

Written by the indexing model from the issue text.

Description

There should be a short but dedicated discussion warning about setting a value on copies: df[“a”][“b”] = 5. This is one of the most common mistakes made by beginners, and often they are also inexperienced to understand the warning. This type of error can lead to serious errors in an analysis.

Dominant language
No language data
Stars
37
Forks
70
Avg merge
1m
Merged PRs (30d)
1

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.

More from datacarpentry/python-socialsci

All issues in datacarpentry/python-socialsci

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.