fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#numpy

6 posts5 participants0 posts today

PostgreSQL Shared Libraries: Solving Python Extension Library Path Issues
Smoothly integrate Python extensions with PostgreSQL Shared Libraries, especially when using NumPy. Properly configuring the `shared_libraries` parameter prevents runtime errors by ensuring your database server can locate necessary libraries. Learn how to manage PostgreSQL Shared Libraries for robust Python extensions! #PostgreSQL #Python #SharedLibraries #NumPy #Database #Extensions
tech-champion.com/databas...

Connaissez-vous l'histoire du mec qui ne sait pas programmer mais qui décide dans un moment de passion qu'il va implémenter un truc avec des vraies mathématiques (genre il y a des divisions et tout) en #python ?
Le même gars qui après une demi journée de rage et larmes pose une question tellement spécifique au moteur de recherche qu'il tombe sur l'implémentation déjà existante fournie par #numpy.

C'est à emporter, c'est pour un ami, moi je suis végétarien.

🚀 Exciting Python-Blosc2 Update!
In 3.2.1 release, we've implemented the __array_interface__ protocol for our array containers, dramatically expanding interoperability with NumPy, CuPy and other array libraries.

This means our blosc2.jit decorator now works with virtually all NumPy functions! Compute with the full power of NumPy with either decompressed data... or compressed data without decompressing first.

Check out examples: github.com/Blosc/python-blosc2

Инструменты Python для анализа данных на примере данных стриминг-сервиса

В данной статье рассмотрены некоторые методы и инструменты библиотек python для анализа данных. Используем три самые популярные библиотеки: Pandas, Numpy, Seaborn

habr.com/ru/articles/894530/

ХабрИнструменты Python для анализа данных на примере данных стриминг-сервисаВ данной статье будет рассказано о некоторых методах библиотек Python, с помощью которых можно производить анализ данных, писать аналитические запросы к набору данных, визуализировать необходимую...
#pand#numpy#seaborn

🎩✨ Behold, the Prospero Challenge 2025, now with a dumpster full of garbage collection! Max Bernstein's brilliant "speed up the snail" saga involves a microscopic tweak of #Python and #NumPy to create a pixelated masterpiece of #inefficiency. 🖥️🐌🤦‍♂️ Let's all pretend this is groundbreaking while we sip our lukewarm coffee. ☕💤
bernsteinbear.com/blog/prosper #ProsperoChallenge2025 #pixelatedmasterpiece #lukewarmcoffee #HackerNews #ngated

Max Bernstein · Prospero challenge, now with more garbage collection
More from Max B

Метод Python numpy.where(): синтаксис и как использовать

Метод numpy.where() является одним из наиболее мощных и часто используемых инструментов в библиотеке NumPy для условного выбора элементов из массивов. Он предоставляет гибкие возможности для обработки и анализа больших массивов данных, позволяя заменять традиционные условные операторы if-else и значительно ускоряя выполнение кода. Этот метод позволяет заменить элементы массива, которые удовлетворяют определенному условию, на заданные значения, а остальные оставить неизменными. В отличие от обычных циклов, которые могут замедлять выполнение при работе с большими объемами данных, numpy.where() использует векторизацию, что делает выполнение операций более быстрым и эффективным.

habr.com/ru/companies/timeweb/

ХабрМетод Python numpy.where(): синтаксис и как использоватьМетод  numpy.where()  является одним из наиболее мощных и часто используемых инструментов в библиотеке NumPy для условного выбора элементов из массивов. Он предоставляет гибкие возможности...

Oh look, a rainbow! Exploring the Visible Spectrum with Python Part 1
In this article I write Python code to calculate the frequencies, wavelengths, energies and RGB values of light across the visible spectrum. (Next week in Part 2 I plot the data using Matplotlib.)
#python #pythonprogramming #physics #numpy #matplotlib #light #spectrum
codedrome.substack.com/p/visib

CodeDrome · Exploring the Visible Spectrum with Python Part 1By Chris Webb

The #python #numpy .npy format error messages assume the reader is the API user, not someone using a third-party package calling the API.

LIke, if my user sees "we only support format version..." , how do they know it's NumPy and not me?

Or, if you read a pickled npy file even though I explicitly set allow_pickle=False, the message is "If you trust the file you can load it unsafely using the `allow_pickle=`".

I rewrite some of the messages (which change pretty often) for clarity.