OPEN SOURCE
The Problem
There have been many instances where I needed to compare two dataframes and analyze their differences. To address this need, I created a fast Python library called "data_fingerprint" that does exactly that.
Check it out and let me know what you think!
https://github.com/SimpleSimpler/data_fingerprint
Los pandas tienen que ser los animales más felices... se entretienen muy fácilmente.
#Nature #Naturaleza #Pandas
@pythonhub
@pandas_dev
#pandas
Hello, I am looking for a way to identify a commune/city from a geolocation point (lat. - long.)
Does a library exist?
How to do that?
This request is not to find a commune/city from an address.
For instance, my search is from points in the middle of fields and in a forest...
And when I don't have an address :).
Thank you for your time.
----
Je cherche un moyen de retourner le nom d'une commune à partir de la géolocalisation d'in point.
Merci.
Evaluating Past Range Shifts and Niche Dynamics of Giant Pandas Since the Last Interglacial
Working on core array computing libraries that power #scientificPython? #EuroSciPy2025 wants your proposals on optimized array operations, vectorization techniques, and numerical foundations. Submit your groundbreaking work!
At last night’s @mug meeting we looked at a lot of different solutions to #adventofcode day 1 in many different languages. Two that were very interesting to me were #Zig and #haskell. The way these two languages worked was really quite fascinating. After seeing real code in these two languages, I can tell they are not for me; but they were interesting and illuminating nonetheless.
There was a solution entirely in #SQL. Another in #vim9script. Another in #swiftlang #swift (I don’t think that one’s in the repo yet). I wrote several implementations myself. The one I felt most proud of is #Python with the core written in #rustlang #rust tied together with #PyO3. The one I felt was maybe the best tool for the job was entirely based on #pandas. As I said in a previous post, I tried to solve it in #polars, but the API exposed by Polars at least as far as I could tell, made it no better than simple lists in Python. I need to get deeper knowledge here.
The repo lives here: https://github.com/MichiganUnixUserGroup/MUG-2025-03-11-Advent-of-Code.
#python #pandas #regex
Ein großer Fallstrick für mich, sind die unterschiedlichen Rückgabewerte.
pandas lässt recht einfach auf den gesuchten Regex als Rückgabewert zugreifen, bei python zusammen mit re braucht es eine extra Schleife, wenn man den Regex als Rückgabewert will.
Der Kleinkram macht immer den Unerschied!
Today's challenge on LeetCode: Patients With a Condition
Hint: Use .contains() with regex to handle variations
Give it a shot! [https://leetcode.com/problems/patients-with-a-condition?envType=study-plan-v2&envId=30-days-of-pandas&lang=pythondata] How did you approach it?
#Python #Pandas #DataScience #LeetCode
#bibliocon25 oha, mein Beitrag wurde angenommen
https://bid2025.abstractserver.com/program/#/details/presentations/486
Jetzt freu ich mich und bin auch etwas nervös! Wer sich für automatisierte Umsystematisierung mit #pandas, #culturegraph und einfachen Statistiken interessiert und zusätzlich individualisierte Signaturerstellung mit Skripten für RVKs nicht abgeneigt gegenüber steht : ich freue mich, wenn ihr kommt!
TLDR: Pandas are dope fiends!?
TIL that Pandas aren't born loving bamboo, but that it's an addiction with a dopamine component.
Those cute furry pandas are actually carnivores.
But they sit on their butts all day eating plants and getting high instead of chasing animals.
"some of the bamboo-derived miRNAs were found to regulate dopamine pathways, driving food motivation and the reward system linked to it. So if eating bamboo is a pleasurable, satisfying experience for a panda, it's more likely to be solely driven to seek out this trigger." https://newatlas.com/biology/pandas-bamboo-micro-rna/
Why don't #pandas eat more meat? #Molecules found in #bamboo may be behind their plant-based diet.
#miRNA #regulation #gene_expression #sensing #dopamine
https://phys.org/news/2025-02-dont-pandas-meat-molecules-bamboo.html
My internal #tool project at work is starting to feel like something that needs a second developer to spend a little time on. Unfortunately I don't think anyone else knows #Python / #pandas well enough or would have the time or willingness to learn.
I just need a second pair of non-ai eyes on this code.
I think I'm over feeling like an impostor for slipping deadlines, but it doesn't feel great. It's clear this is more important than a handy little tool.
Why loc in pandas is faster than subsetting:
Direct label access (no recalculations)
View vs. Copy (loc returns a view, subsetting makes a copy)
Cython-optimized for speed
Less overhead in chained ops
Discovery reveals giant flying squirrel once soared over Southern Appalachia
https://phys.org/news/2025-02-discovery-reveals-giant-flying-squirrel.html paper: https://link.springer.com/article/10.1007/s10914-025-09751-w
"A giant #FlyingSquirrel—about the size of today's house cats—once soared through the skies over what is now Southern #Appalachia, gliding above #rhinos, #mastodons and red #pandas... closest relatives are the giant #FlyingSquirrels in Japan, China and Indonesia... somehow they crossed the Bering Land Bridge alongside other #mammals about 5 million years ago."
Compare the Best Data Visualisation Libraries for Python and Pandas