A small reusable code block with explanation.
Learn when to use Generative and Discriminative AI with practical Python examples.
Jul 9, 2025
•
7 min read
A new vectorized approach to slicing string arrays in NumPy, shown to be up to 25x faster!
Jul 2, 2025
6 min read
Caching your program's output can increase significantly. Using Python's functools.lru_cache decorator makes creating caches easy.
Jun 18, 2025