---
title: "#numpy articles | Hashnode"
description: "Explore 385 articles tagged #numpy on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/numpy"
---

Tag

# #numpy

385 posts · 153 followers

[Peiguan](https://hashnode.com/@lpgit) · [19h ago](https://hashnode.com/posts/can-you-turn-a-malfoid-ai-portrait-into-string-art-a-greedy-thread-solver-in-numpy-and-why-the-hair-survives-but-the-face-doesn-t/6af44152c4e6f2491305ac29)

### [Can You Turn a Malfoid AI Portrait Into String Art? A Greedy Thread Solver in NumPy, and Why the Hair Survives but the Face Doesn't](https://lpgit.hashnode.dev/can-you-turn-a-malfoid-ai-portrait-into-string-art-a-greedy-thread-solver-in-numpy-and-why-the-hair-survives-but-the-face-doesn-t?utm_source=hashnode&utm_medium=feed)

String art is the craft where one long thread wraps around a ring of nails and, after a few hundred to a few thousand passes, a face appears. It keeps coming up as a question about Malfoid portraits:

12 min read · [lpgit.hashnode.dev](https://lpgit.hashnode.dev/can-you-turn-a-malfoid-ai-portrait-into-string-art-a-greedy-thread-solver-in-numpy-and-why-the-hair-survives-but-the-face-doesn-t?utm_source=hashnode&utm_medium=feed)

[Peiguan](https://hashnode.com/@lpgit) · [1d ago](https://hashnode.com/posts/how-do-you-turn-a-malfoid-ai-portrait-into-a-jigsaw-puzzle-shared-edge-pieces-a-cut-once-svg-and-the-crossing-test-that-caught-my-bug/6af2ef7faf8577ecd823771e)

### [How Do You Turn a Malfoid AI Portrait Into a Jigsaw Puzzle? Shared-Edge Pieces, a Cut-Once SVG, and the Crossing Test That Caught My Bug](https://lpgit.hashnode.dev/how-do-you-turn-a-malfoid-ai-portrait-into-a-jigsaw-puzzle-shared-edge-pieces-a-cut-once-svg-and-the-crossing-test-that-caught-my-bug?utm_source=hashnode&utm_medium=feed)

November 10, 2026 Short answer: pick a grid whose pieces come out square (a 3:4 portrait gives 3×4 = 12, 6×8 = 48 or 9×12 = 108 pieces), generate every interior edge once with a random tab direction,

16 min read · [lpgit.hashnode.dev](https://lpgit.hashnode.dev/how-do-you-turn-a-malfoid-ai-portrait-into-a-jigsaw-puzzle-shared-edge-pieces-a-cut-once-svg-and-the-crossing-test-that-caught-my-bug?utm_source=hashnode&utm_medium=feed)

[Waqas Shahid](https://hashnode.com/@practicaldevblog) · [2d ago](https://hashnode.com/posts/numpy-fast-arrays-in-python-without-the-loops/6af29ee7cf94060d41a6d628)

### [NumPy: Fast Arrays in Python Without the Loops](https://practicaldevblog.hashnode.dev/numpy-fast-arrays-in-python-without-the-loops?utm_source=hashnode&utm_medium=feed)

When seven numbers turn into a slow afternoon Picture a stationery shop at the end of the week. The owner has seven sales figures in a notebook, and a question to answer before ordering stock. Which d

6 min read · [practicaldevblog.hashnode.dev](https://practicaldevblog.hashnode.dev/numpy-fast-arrays-in-python-without-the-loops?utm_source=hashnode&utm_medium=feed)

[Bandanadham Jeevan](https://hashnode.com/@Thejeevan) · [Oct 26](https://hashnode.com/posts/mastering-complex-numbers-for-quantum-computing-with-python-numpy/6adfbc80f55f13877206c6f8)

### [Mastering Complex Numbers for Quantum Computing with Python & NumPy](https://jeevan-quantum.hashnode.dev/mastering-complex-numbers-for-quantum-computing-with-python-numpy?utm_source=hashnode&utm_medium=feed)

Master complex numbers for quantum computing with Python and NumPy. Learn arithmetic, polar coordinates, Euler's formula, and roots of unity with code

7 min read · [jeevan-quantum.hashnode.dev](https://jeevan-quantum.hashnode.dev/mastering-complex-numbers-for-quantum-computing-with-python-numpy?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 27](https://hashnode.com/posts/performance-memory-profiling-vectorization-and-how-python-manages-memory-dz1g8/6ae0198a2cbf8d9521ab9357)

### [Performance & Memory: Profiling, Vectorization, and How Python Manages Memory](https://blog.zyvop.com/performance-memory-profiling-vectorization-and-how-python-manages-memory-dz1g8?utm_source=hashnode&utm_medium=feed)

Measure before you optimize: learn to time and profile code, vectorize with NumPy, and see how Python uses memory, with an embedding search that gets about 100 times faster.

17 min read · [blog.zyvop.com](https://blog.zyvop.com/performance-memory-profiling-vectorization-and-how-python-manages-memory-dz1g8?utm_source=hashnode&utm_medium=feed)

[Dhairya Pathak](https://hashnode.com/@dhairyapathak) · [Oct 1](https://hashnode.com/posts/building-a-neural-network-from-scratch-in-pure-numpy-what-frameworks-hide-from-you/6abe379978a7b975c4c34f86)

### [Building a Neural Network from Scratch in Pure NumPy: What Frameworks Hide From You](https://dhairyapathak.hashnode.dev/building-a-neural-network-from-scratch-in-pure-numpy-what-frameworks-hide-from-you?utm_source=hashnode&utm_medium=feed)

A complete guide to building a deep learning framework from scratch using pure NumPy. Covers matrix math, manual backpropagation, and Pytest.

4 min read · [dhairyapathak.hashnode.dev](https://dhairyapathak.hashnode.dev/building-a-neural-network-from-scratch-in-pure-numpy-what-frameworks-hide-from-you?utm_source=hashnode&utm_medium=feed)

[Harpreet Singh Kapula](https://hashnode.com/@happysingh89) · [Sep 12](https://hashnode.com/posts/how-to-normalize-a-numpy-array-min-max-vs-z-score/6aa4e33d945ca9f2e9fbed1c)

### [How to Normalize a NumPy Array (Min-Max vs Z-Score)](https://singh-technical-blog.hashnode.dev/how-to-normalize-a-numpy-array-min-max-vs-z-score?utm_source=hashnode&utm_medium=feed)

Normalize a NumPy array 3 ways—min-max, z-score, and robust scaling—and see exactly why outliers break the first two but not the third.

7 min read · [singh-technical-blog.hashnode.dev](https://singh-technical-blog.hashnode.dev/how-to-normalize-a-numpy-array-min-max-vs-z-score?utm_source=hashnode&utm_medium=feed)

[Tharun](https://hashnode.com/@tharun-pandya) · [Aug 16](https://hashnode.com/posts/multiple-linear-regression-when-one-input-isn-t-enough/6a81e06dd14c9076a42b600f)

### [Multiple Linear Regression: When One Input Isn't Enough](https://tharunpandya.hashnode.dev/multiple-linear-regression-when-one-input-isn-t-enough?utm_source=hashnode&utm_medium=feed)

Picture two different orders. Both are exactly 3 kilometers away from the restaurant. One arrives in 18 minutes. The other takes 35 minutes. If distance is the only thing our model looks at, it has no

9 min read · [tharunpandya.hashnode.dev](https://tharunpandya.hashnode.dev/multiple-linear-regression-when-one-input-isn-t-enough?utm_source=hashnode&utm_medium=feed)

[Tharun](https://hashnode.com/@tharun-pandya) · [Aug 11](https://hashnode.com/posts/linear-regression-fitting-a-line-through-chaos/6a7b2946b64d2c33e2a13fc0)

### [Linear Regression: Fitting a Line Through Chaos](https://tharunpandya.hashnode.dev/linear-regression-fitting-a-line-through-chaos?utm_source=hashnode&utm_medium=feed)

Learn linear regression from scratch using a real delivery-time example, Python, and NumPy. Understand weights, bias, predictions, and errors.

10 min read · [tharunpandya.hashnode.dev](https://tharunpandya.hashnode.dev/linear-regression-fitting-a-line-through-chaos?utm_source=hashnode&utm_medium=feed)

[Rutvika Goswami](https://hashnode.com/@Btawrites) · [Aug 9](https://hashnode.com/posts/confused-about-which-python-library-does-what-here-s-your-cheat-sheet-with-runnable-code/6a78b17aec027be75bbae663)

### [\# Confused About Which Python Library Does What? Here's Your Cheat Sheet (With Runnable Code)](https://btawrites.hashnode.dev/confused-about-which-python-library-does-what-here-s-your-cheat-sheet-with-runnable-code?utm_source=hashnode&utm_medium=feed)

"Confused About Python Libraries for AI? Here's a Code Cheat Sheet That Fixes That"

6 min read · [btawrites.hashnode.dev](https://btawrites.hashnode.dev/confused-about-which-python-library-does-what-here-s-your-cheat-sheet-with-runnable-code?utm_source=hashnode&utm_medium=feed)
