frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Pandas Should Go Extinct

https://eddie.codes/posts/pandas-should-go-extinct/
42•__eddie__•1h ago

Comments

Vaslo•35m ago
I use polars or duckdb now exclusively. Better syntax, better performance. But pandas is deeply entrenched - I try to get my team off it but it’s an uphill battle. It’s not going anywhere anytime soon.
sjtrny•32m ago
> People typically start with Excel and graduate to Pandas somewhere in the GB range. Pandas serves them well into the 10s of GBs range, and then they start hitting memory issues, slow computation, or become frustrated with Pandas’ baroque API.

Assumes that a project moves beyond 10s of GBs. I guess 99.9% of projects that import pandas fall well below this threshold.

minimaxir•27m ago
At my work I had convinced the ML pipeline engineers to switch from pandas to polars for even small ETL pipelines and there were notable performance gain with better CPU/memory utilization.

If a library is performant at large datasets, it is likely performant at small ones too.

sjtrny•16m ago
I’m not disagreeing with that statement at all. You missed my point that there are thousands of people making small Python scripts for education and personal projects everyday. In those circumstances the performance concerns are irrelevant and the ergonomics of good pandas documentation and community knowledge make it a better choice.
minimaxir•11m ago
That inertia is not a good thing, and it's partially why there's stagnation in data science. Polars is more than mature enough in both documentation and resources for it to be a daily driver.
__eddie__•13m ago
True, but also if Polars and DuckDB offer a similar experience with the ability to scale beyond that range, why not use them (for new projects)?

This isn't a call to arms to rewrite everything in the new shiny, just consider the new shiny for new shiny things

minimaxir•31m ago
It's been a while since I've seen an actual data science post submitted to Hacker News: both because AI has superset a lot of DS tasks (e.g. vector embeddings), but also because not much new has happened in DS. Polars has been around for a bit and as noted it is much better than pandas, but otherwise the DS ecosystem has been somewhat stagnant.

I'd write more tutorials about how to use data science tooling but one consequence of AI is that all the old data sources I used to analyze such as social media and Reddit are now completely locked down (I am surprised NYC Taxi is still being updated, though). Therefore in the meantime, I'm working on making better data science tooling...although unclear to what end due to the data issue above.

dvt•29m ago
I've been saying this since using Databricks at a company almost a decade ago. Most folks do not need big data tools, and it's just so entrenched because everyone wanted to be a "big data" company and pandas was how you handled big data.
stephantul•18m ago
Agreed on all counts.

In many cases I’ve found directly using python primitives to be less confusing than pandas.

Similarly, in companies I’ve worked at, the datasets just aren’t that big. Especially if you’ve got access to modern hardware.

crazysim•16m ago
Am I crazy or did the OP swap the contents of the posts around accidentally?

https://eddie.codes/posts/pandas-should-go-extinct/ <=> https://eddie.codes/posts/source-code-comments/

fortuitous-frog•10m ago
Yep. Was very confused about the title and URL slug; reached the end waiting for Pandas to be mentioned.
__eddie__•10m ago
Sorry, fixed it now!

Published two posts at the same time and total PEBCAK

jonahss•16m ago
Real link here: https://eddie.codes/posts/source-code-comments/

Something going wonky on their blog, where two posts got their links swapped.

__eddie__•13m ago
Yep sorry, fixing now. It's what you get for being bitten by the bug to write twice in the same day
__eddie__•12m ago
Fixed!
jivanvl•11m ago
So it wasn’t just then, for me it linked to their “Useful code comments” post
viccis•15m ago
Polars seems nice but in my experience using it, the "lazy" APIs would still immediately materialize a ton of stuff in memory and had very spotty support on what data formats and storage integrations were possible with scan_* functions (though that was half a year ago and the support is slowly improving). It's frustrating, I mean really frustrating, to think I could solve a lot of my "scan through heinous amounts of data without any memory hungry things like window aggregations without blowing out my memory" with Polars and then watch my scan_thisorthat() call result in instant memory usage ballooning.

DuckDB on the other hand is wonderful and truly doesn't use any more memory than it really needs to.

ChrisArchitect•14m ago
Title is currently, err...: Useful Code Comments

Hoping OP can fix this on their end so the url has the expected content. Whoops!

__eddie__•12m ago
Yep, fixed now. Sorry!
willsmith72•13m ago
Makes sense, especially with AI coding tools the rewrite and familiarity arguments hold less water. Similar for the rustify everything crazy.

The problem is, orgs who see themselves as big data orgs want to act that way, even if they're medium data. "But we'll need it when we grow", "we need to know the state of the art tools"

evolve-maz•12m ago
Only in the last few years did I start using SQL properly. Before that my pipelines would live in python. Now I offload as much to the db as possible, and keep my python simple glue. I'm very happy with this compared to other methods in pandas or polars.

If I still need to do db-like things in python I think duckdb is better.

jgalt212•8m ago
I'd drop pandas if polars worked eamlessly with sklearn.
jijji•5m ago
so this story is something that's really important for everybody to know about and should not get downvoted...please
qwertytyyuu•4m ago
Pandas should go extinct? I’m confused Edit: Oh link was broken before

Google stole open source code without crediting the authors (Artemis/Minitap)

https://www.minitap.ai/blog/i-expected-better-from-google
54•MysteryPancake•1h ago•8 comments

A misalignment of AI in mathematics

https://mathandai.org/
739•meredydd•10h ago•746 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
371•nickabe•9h ago•192 comments

Pandas Should Go Extinct

https://eddie.codes/posts/pandas-should-go-extinct/
45•__eddie__•1h ago•24 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
184•wcrichton•2d ago•37 comments

Google no longer provides direct URLs in search results

https://www.autom.dev/blog/google-search-goto-links
8•1e1a•33m ago•3 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
442•chao-•4h ago•256 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
219•microtonal•8h ago•135 comments

Project Blinkenlights

https://blinkenlights.de/en/
60•doener•5h ago•25 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
108•kennethwolters•9h ago•39 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
116•geneticdrifts•10h ago•81 comments

Hepburn Romanization: How to Read Japanese in the Latin Alphabet

https://www.fink-translate.com/blog/hepburn-romanization.html
31•miuraboy•1d ago•31 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
40•mirza_rizvi•5h ago•14 comments

Great Lakes sturgeon may be 400 years old:Scientists rethinking how to save them

https://www.cbc.ca/news/canada/ontario-great-lakes-sturgeon-lifespan-study-9.7329250
7•bookofjoe•2d ago•1 comments

Λ Snap – An inviting programming language for kids and adults for CS study

https://snap.berkeley.edu/
122•dr_kiszonka•10h ago•62 comments

AlphaGenome maps 9B DNA variants

https://spectrum.ieee.org/alphagenome-atlas
73•ltononro•2d ago•7 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
184•adastral•4d ago•72 comments

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
155•ernestrc•12h ago•55 comments

The EPA is planning to scrap public review rules for data center pollution

https://capitalbnews.org/data-centers-permit-rules-epa/
387•doener•9h ago•269 comments

Starlink Signal Leakage Threatens Radio Astronomy's Most Critical Frequencies

https://www.gadgetreview.com/starlinks-signal-leakage-is-threatening-radio-astronomys-most-critic...
62•upofadown•3h ago•25 comments

Show HN: Graphify C# – Compiler-accurate Find Usages for coding agents

https://github.com/zachsaw/graphify-csharp
19•zachsaw•3h ago•9 comments

AI researchers debate how close we are to recursive self-improvement

https://www.dwarkesh.com/p/john-beren-charlie
66•artninja1988•6h ago•57 comments

Testing Race Conditions

https://projectzero.google/2026/09/maccconc-race-condition.html
23•alpaylan•2d ago•0 comments

Logo Programming Language

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
244•azhenley•2d ago•103 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
179•vesterde•1d ago•142 comments

How we rebuilt complex permissions without migrating to Zanzibar

https://infisical.com/blog/folder-based-rbac
34•FinnLobsien•2d ago•8 comments

Claude is only available to people over 18 years

https://support.claude.com/en/articles/15171100-age-assurance-on-claude
595•Muhammad523•16h ago•612 comments

Zep AI (YC W24) Is Hiring a Head of Forward Deployed Engineering

https://www.getzep.com/careers/
1•roseway4•10h ago

QueryBrew: System-Agnostic SQL-to-SQL Query Optimization [pdf]

https://www.vldb.org/pvldb/vol19/p4494-schmidt.pdf
23•matt_d•5h ago•8 comments

RTK reports token savings, but our cost benchmarks disagree

https://quesma.com/blog/does-rtk-make-ai-coding-cheaper/
149•michalwarda•16h ago•76 comments