<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/numpy/best-of/2024" -->

---
title: Best NumPy posts of 2024 | daily.dev
description: The most upvoted NumPy posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/tags/numpy/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/numpy/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best NumPy posts of 2024 | daily.dev
og:description: The most upvoted NumPy posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of NumPy — 2024

1. 1  
[](/posts/15-ds-ml-cheat-sheets-g6vzxobqd "15 DS/ML Cheat Sheets")  
Article  
![Avatar of dailydoseofds](https://media.daily.dev/image/upload/s--4IHQgTOw--/f_auto/v1710503712/logos/dailydoseofds)Daily Dose of Data Science | Avi Chawla | Substack · 2y  
15 DS/ML Cheat Sheets  
This post collates 15 cheat sheets covering essential data science and machine learning concepts. It includes resources on translating between different data manipulation libraries, multi-GPU training strategies, testing ML models in production, neural network optimization, and more. Detailed links are provided for further reading.  
232  
1
2. 2  
[](/posts/machine-learning-from-zero-vsriqe7xs "Machine Learning From Zero")  
Article  
![Avatar of palindrome](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cfdfeb66e965438eb7a539c98ba83494)The Palindrome · 2y  
Machine Learning From Zero  
Introducing the 'mlfz' library, an educational project aimed at demystifying machine learning algorithms. Written entirely in Python + NumPy, it breaks down complex concepts into readable code. Now available on PyPI and GitHub, this library serves as both a computational tool and an informative textbook on the internal workings of machine learning. More detailed posts on neural networks are expected in the coming months.  
84  
2
3. 3  
[](/posts/jax-in-100-seconds-owxesepqj "JAX in 100 Seconds")  
Video  
![Avatar of fireship](https://media.daily.dev/image/upload/s--75ndqrkr--/f_auto,t_logo/v1702882094/logos/fireship.jpg)Fireship · 2y  
JAX in 100 Seconds  
Jax is an accelerated linear algebra library that allows for high-performance array computing and automatic differentiation. It enforces constraints like immutable arrays and pure functions. Jax can run on accelerated hardware like GPUs and TPUs.  
76
4. 4  
[](/posts/constructing-neural-networks-from-scratch-part-1-zfano8do6 "Constructing Neural Networks From Scratch: Part 1")  
Article  
![Avatar of do_community](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c1b9d07730e34ea388c39a498a753d6c)DigitalOcean Community · 2y  
Constructing Neural Networks From Scratch: Part 1  
Building neural networks from scratch provides foundational understanding of deep learning. While popular frameworks like TensorFlow and PyTorch simplify neural net implementation, they may obscure core concepts. This guide explains foundational neural network components using Python and NumPy to solve tasks like the XOR logic gate. It addresses mathematical foundations, forward and backward propagation, and outlines the steps to train a simple neural network without deep learning frameworks.  
66
5. 5  
[](/posts/10-python-one-liners-that-will-boost-your-data-science-workflow-l6hzkzrzb "10 Python One-Liners That Will Boost Your Data Science Workflow")  
Article  
![Avatar of mlm](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/795781ffb32446c39eba040feb64f505)Machine Learning Mastery · 2y  
10 Python One-Liners That Will Boost Your Data Science Workflow  
Python offers versatile one-liners to enhance your data science workflow. Learn efficient methods to handle missing data, remove highly correlated features, apply conditional columns, find common and different elements, and use Boolean masks for filtering. Other techniques include counting occurrences in lists, extracting numbers from text, flattening nested lists, converting lists to dictionaries, and merging dictionaries efficiently.  
64
6. 6  
[](/posts/10-crazy-python-operators-that-i-rarely-use-qkrh5xb4y "10 Crazy Python Operators That I Rarely Use")  
Video  
![Avatar of indently](https://media.daily.dev/image/upload/s--u6wAXJI9--/f_auto/v1725038127/logos/indently)Indently · 2y  
10 Crazy Python Operators That I Rarely Use  
Discover 10 rarely used Python operators, including set operations, the matrix multiplication operator, and bitwise inversion. Learn how to perform operations like union, intersection, and symmetric difference using unique syntax. The post also covers the floor division operator and demonstrates creative use of operator combinations.  
51  
5
7. 7  
[](/posts/simulating-wildfires-in-a-forest--yvnvofpng "Simulating Wildfires in a Forest🔥")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 2y  
Simulating Wildfires in a Forest🔥  
Simulating wildfires involves using a computational model called Cellular Automaton (CA), leveraging Python libraries such as NumPy and Matplotlib. The simulation describes a forest grid with cells representing trees, wildfires, and burned areas. The model applies rules to change cell states over time, incorporating additional elements like temperature, wind, and precipitation to closely mimic real-world wildfire scenarios. The more sophisticated model includes additional states (water, bedrock, grass) and weather conditions to make the simulation more realistic.  
40  
1
8. 8  
[](/posts/mastering-python-for-data-science-beyond-the-basics-j3vmm61yj "Mastering Python for Data Science: Beyond the Basics")  
Article  
![Avatar of kdnuggets](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/kdnuggets)KDnuggets · 3y  
Mastering Python for Data Science: Beyond the Basics  
Learn advanced Python techniques for data science, including efficient data manipulation with Pandas, high-performance computing with NumPy, and leveraging niche libraries for elevated data analysis.  
37
9. 9  
[](/posts/generating-random-data-with-numpy-vxrtjwdgh "Generating Random Data with NumPy")  
Article  
![Avatar of kdnuggets](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/kdnuggets)KDnuggets · 2y  
Generating Random Data with NumPy  
NumPy is a powerful Python package for mathematical and statistical computations, including generating random data. It provides tools to create random data from various distributions such as uniform, normal, Poisson, binomial, and exponential distributions. The package also allows setting seeds for reproducibility and combining different distributions to create custom data sets. This versatility makes NumPy essential for tasks like data simulation, synthetic data generation for machine learning, and statistical sampling.  
20  
2
10. 10  
[](/posts/python-news-roundup-july-2024-real-python-d6633whn0 "Python News Roundup: July 2024 – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python · 2y  
Python News Roundup: July 2024 – Real Python  
July 2024 saw significant updates in the Python data science ecosystem. NumPy released version 2.0, featuring improved string handling and cleaner namespaces but also introducing breaking changes. Polars, a high-performance DataFrame library, reached its 1.0 milestone, indicating its readiness for production use. Highlights from PyCon US included keynotes on diverse tech topics and PSF’s coverage of the Python Language Summit. Additionally, there's an ongoing discussion about shifting Python's versioning scheme to calendar versioning (CalVer).  
20
11. 11  
[](/posts/what-is-numpy-and-why--hptin5yhd "What is Numpy and Why?")  
Video  
![Avatar of telusko](https://media.daily.dev/image/upload/s--xVEBUipN--/f_auto/v1728072944/logos/telusko)Telusko · 2y  
What is Numpy and Why?  
Numpy, short for Numerical Python, is a powerful library used in AI, machine learning, and data science for numerical computing. It addresses Python's limitations with arrays, supporting multi-dimensional arrays and offering performance benefits through optimized C code. Numpy is foundational to many other libraries like Pandas and Scikit-Learn, making it a crucial tool for scientific and data-intensive computations.  
18  
1
12. 12  
[](/posts/using-astropy-for-astronomy-with-python-real-python-257cv6ebl "Using Astropy for Astronomy With Python – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python · 2y  
Using Astropy for Astronomy With Python – Real Python  
This course introduces foundational astronomy concepts and teaches you how to use Python libraries such as Astropy, NumPy, Matplotlib, and pandas. Learn how to find planet conjunctions and graph the best viewing times for a star. The course includes 19 lessons, video subtitles, full transcripts, downloadable resources, and a certificate of completion.  
21  
1
13. 13  
[](/posts/rounding-numbers-in-python-real-python-ekg2ajbwv "Rounding Numbers in Python – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python · 2y  
Rounding Numbers in Python – Real Python  
Learn about the importance of rounding numbers in Python, various rounding strategies, how rounding affects data, and how to round numbers in NumPy arrays and pandas DataFrames.  
18
14. 14  
[](/posts/fast-multidimensional-matrix-multiplication-on-cpu-from-scratch-ycvu9op1b "Fast Multidimensional Matrix Multiplication on CPU from Scratch")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 2y  
Fast Multidimensional Matrix Multiplication on CPU from Scratch  
Recreating fast multidimensional matrix multiplication from scratch using C++ can achieve significant performance boosts through various optimization techniques. These include using compiler flags, loop reordering, tiling, and multithreading. By leveraging these methods, performance can approach the optimized levels achieved by libraries such as Intel’s MKL used in Numpy. Understanding CPU architecture and effective benchmarking are crucial for successful optimization.  
18
15. 15  
[](/posts/numpy-practical-examples-useful-techniques-real-python-xlt2mphtq "NumPy Practical Examples: Useful Techniques – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python · 2y  
NumPy Practical Examples: Useful Techniques – Real Python  
This tutorial covers practical examples and useful techniques for using the NumPy library in Python. Topics include creating multidimensional arrays from files, identifying and removing duplicate data, using structured arrays to reconcile datasets, analyzing hierarchical data, and creating vectorized functions. It also includes instructions on setting up the working environment, and some exercises to practice the skills learned.  
17
16. 16  
[](/posts/vectorization-in-practice-gzqzp0edv "Vectorization in practice")  
Article  
![Avatar of palindrome](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cfdfeb66e965438eb7a539c98ba83494)The Palindrome · 2y  
Vectorization in practice  
This post explores the concept of vectorization and the use of data structures in computer science. It compares tuples and lists in Python as representations of vectors and explains why NumPy arrays are faster than Python lists for scientific computation.  
17
17. 17  
[](/posts/visualizing-data-in-python-with-matplotlib-tfc1felx5 "Visualizing Data in Python With Matplotlib")  
Article  
![Avatar of newstack](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/newstack)The New Stack · 2y  
Visualizing Data in Python With Matplotlib  
Learn to effectively communicate complex datasets using Matplotlib, a versatile Python library for data visualization. This guide covers the basics of creating line plots, bar charts, scatter plots, and subplots, as well as how to customize these visualizations to enhance data comprehension and support data-driven decisions.  
16
18. 18  
[](/posts/broadcasting-in-numpy-so1fl0yxn "Broadcasting in Numpy")  
Video  
![Avatar of telusko](https://media.daily.dev/image/upload/s--xVEBUipN--/f_auto/v1728072944/logos/telusko)Telusko · 2y  
Broadcasting in Numpy  
Learn how to perform broadcasting in Numpy, a powerful operation that allows you to add arrays of different shapes and dimensions. Understand the rules and logic behind broadcasting and see practical examples that demonstrate how Numpy handles various scenarios to make mathematical operations simpler.  
11
19. 19  
[](/posts/what-s-new-in-tensorflow-2-18-cwg64xuge "What's new in TensorFlow 2.18")  
Article  
![Avatar of tf](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/845296a44e3a460c803a8e76ab26212d)TensorFlow · 2y  
What's new in TensorFlow 2.18  
TensorFlow 2.18 has been released with significant updates, including support for NumPy 2.0, which may affect edge cases in API usage. The transition from TFLite to LiteRT has begun, and developers are encouraged to switch over. TensorFlow builds will now include specific versions of CUDA for more reproducible builds and added performance for Ada-Generation GPUs. Support for older GPU versions like Maxwell has been dropped from precompiled packages.  
11

[See all NumPy archives](/tags/numpy/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/numpy/best-of/2024#page","url":"https://daily.dev/tags/numpy/best-of/2024","name":"Best NumPy Posts of 2024","description":"The most upvoted NumPy posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/numpy/best-of/2024#items","numberOfItems":19,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/15-ds-ml-cheat-sheets-g6vzxobqd","name":"15 DS/ML Cheat Sheets"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/machine-learning-from-zero-vsriqe7xs","name":"Machine Learning From Zero"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/jax-in-100-seconds-owxesepqj","name":"JAX in 100 Seconds"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/constructing-neural-networks-from-scratch-part-1-zfano8do6","name":"Constructing Neural Networks From Scratch: Part 1"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/10-python-one-liners-that-will-boost-your-data-science-workflow-l6hzkzrzb","name":"10 Python One-Liners That Will Boost Your Data Science Workflow"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/10-crazy-python-operators-that-i-rarely-use-qkrh5xb4y","name":"10 Crazy Python Operators That I Rarely Use"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/simulating-wildfires-in-a-forest--yvnvofpng","name":"Simulating Wildfires in a Forest🔥"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/mastering-python-for-data-science-beyond-the-basics-j3vmm61yj","name":"Mastering Python for Data Science: Beyond the Basics"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/generating-random-data-with-numpy-vxrtjwdgh","name":"Generating Random Data with NumPy"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/python-news-roundup-july-2024-real-python-d6633whn0","name":"Python News Roundup: July 2024 – Real Python"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/what-is-numpy-and-why--hptin5yhd","name":"What is Numpy and Why?"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/using-astropy-for-astronomy-with-python-real-python-257cv6ebl","name":"Using Astropy for Astronomy With Python – Real Python"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/rounding-numbers-in-python-real-python-ekg2ajbwv","name":"Rounding Numbers in Python – Real Python"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/fast-multidimensional-matrix-multiplication-on-cpu-from-scratch-ycvu9op1b","name":"Fast Multidimensional Matrix Multiplication on CPU from Scratch"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/numpy-practical-examples-useful-techniques-real-python-xlt2mphtq","name":"NumPy Practical Examples: Useful Techniques – Real Python"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/vectorization-in-practice-gzqzp0edv","name":"Vectorization in practice"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/visualizing-data-in-python-with-matplotlib-tfc1felx5","name":"Visualizing Data in Python With Matplotlib"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/broadcasting-in-numpy-so1fl0yxn","name":"Broadcasting in Numpy"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/what-s-new-in-tensorflow-2-18-cwg64xuge","name":"What's new in TensorFlow 2.18"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"NumPy","item":"https://daily.dev/tags/numpy"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/numpy/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

