Skip to content
Back to skills

Numpy

ASecurity

NumPy numerical computing with arrays. Use for numerical operations.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythonapiperformancedocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill numpy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Numpy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Numpy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-numpy-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-numpy-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: numpy
description: NumPy numerical computing with arrays. Use for numerical operations.
---

# NumPy

NumPy is the bedrock of the Python ecosystem. v2.0 (2024) brought the first major ABI change in 15 years, improving performance and API consistency.

## When to Use

- **Linear Algebra**: Matrix multiplication, eigenvalues.
- **Array Manipulation**: Reshaping, broadcasting.
- **Foundation**: When building libraries (like PyTorch or Pandas).

## Core Concepts

### Broadcasting

The magic rule that allows `array(3x1) + array(3)` to work.

### Dtypes

Precision matters. `float32` vs `float64`.

### Stride Tricks

Efficient memory views without copying data.

## Best Practices (2025)

**Do**:

- **Check v2.0 compat**: Many old libraries broke with NumPy 2.0.
- **Use `numpy.strings`**: New string kernels in v2.0 are much faster.

**Don't**:

- **Don't write `for` loops**: Always vectorize operations.

## References

- [NumPy Documentation](https://numpy.org/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.