Agent skill · Data & Analytics

numpy-masked

The numpy.ma module provides masked arrays, which couple a data array with a boolean mask. Masked elements are ignored in operations like mean(), sum(), and log(), making them ideal for datasets where

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill numpy-masked-cuba6112-skillfactory-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/ai-ml/numpy-masked-cuba6112-skillfactory-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: numpy-masked description: Masked arrays for robust handling of missing or invalid data, ensuring they are excluded from statistical and mathematical computations. Triggers: masked array, numpy.ma, missing data, invalid values, hard mask. --- ## Overview The `numpy.ma` module provides masked arrays, which couple a data array with a boolean mask. Masked elements are ignored in operations like `mean()`, `sum()`, and `log()`, making them ideal for datasets where certain entries should be excluded without deleting them and losing shape information. ## When to Use - Handling sensor data with "no-data" values (e.g., -999). - Performing statistics on arrays containing NaNs or Infs where you want the invalid values automatically excluded. - Protecting specific data points from modification during processing using a "hard mask." - Exporting data where missing values must be filled with a specific constant. ## Decision Tree 1. Do you need to keep the original array shape while ignoring certain values? - Use `ma.masked_array`. 2. Are you performing math on risky values (e.g., negative numbers in log)? - Use `ma.masked_invalid(arr)` or `ma.masked_less(arr, 0)`. 3. Want to extract only

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Decision Tree
  4. Workflows
  5. Non-Obvious Insights
  6. Evidence
  7. Scripts
  8. Dependencies
  9. References
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the numpy-masked skill do?

The numpy.ma module provides masked arrays, which couple a data array with a boolean mask. Masked elements are ignored in operations like mean(), sum(), and log(), making them ideal for datasets where

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill numpy-masked-cuba6112-skillfactory-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going