frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java

https://github.com/moustafa-nasr/fahmatrix
46•mousomashakel•1y ago
Hey HN, I’ve built Fahmatrix, a minimal, fast Java library for working with tabular data — inspired by Python’s pandas, but designed for performance and simplicity on the JVM.

After working extensively with Python’s data stack, I often ran into limitations related to speed, especially in larger or long-running data workflows. So I built Fahmatrix from scratch to offer similar APIs for manipulating CSVs, performing summary statistics, slicing rows/columns, and more — but all in Java.

Features:

Lightweight and dependency-free

CSV/TSV import with auto-headers

Series/DataFrame structures (like pandas)

describe(), mean(), stdDev(), percentile() and more

Fast parallel operations on numeric columns

Java 17+ support

Docs: https://moustafa-nasr.github.io/Fahmatrix/ GitHub: https://github.com/moustafa-nasr/fahmatrix

I’d love feedback from the Java and data communities — especially if you’ve ever wanted a simple dataframe utility in Java without needing full-scale ML libraries.

Happy to answer any questions!

Comments

rickette•1y ago
Congrats on putting this out there. There isn't a de facto pandas-like library in Java like you said. But for Kotlin there is: https://github.com/Kotlin/dataframe
mousomashakel•1y ago
Thanks so much! Yep, I’ve seen the Kotlin DataFrame lib — very elegant. Fahmatrix is meant for plain Java users who want similar capabilities without switching ecosystems. Appreciate the support!
uwemaurer•1y ago
Always great to see efforts to make working with data frames easier. Here are some similar data frame libraries for Java:

https://github.com/jtablesaw/tablesaw

https://github.com/dflib/dflib

My preferred way is just use duckdb java API. I didn't see anything better in performance/efficiency. Also a SQL query is often easier to write

theanonymousone•1y ago
Yes. It has bothered me for a long time too. Maybe the best mix is a dataframe library with basic operations (column select, non-null etc), which also allows SQL for more complex stuff?
radus•1y ago
Polars and duckdb interoperate nicely and can enable this flexibility
theanonymousone•1y ago
Does Polars have a Java library?
mousomashakel•1y ago
Totally agree that SQL can be the best tool for many jobs. My goal with Fahmatrix is to serve the opposite niche: where devs want something that's Java-native, procedural, and simple without reaching for an external engine. SQL support or DSL might come later though — I see the appeal.
skanga•1y ago
What about Tablesaw, Apache Arrow? How does this compare ...
mousomashakel•1y ago
Good question. I’ll publish benchmarks soon, but the core difference is that Fahmatrix is fully Java, no JNI, and minimalistic — ideal for small projects or environments like Android. Tablesaw and Arrow are more powerful, but heavier. Fahmatrix aims to be the “just enough” middle ground.
owlstuffing•1y ago
Nice!

I’m currently using manifold-sql with duckdb for this.

mousomashakel•1y ago
Thanks! That’s a great combo — manifold-sql + duckdb gives you strong typing with powerful SQL under the hood. Fahmatrix is aiming to complement that approach for cases where you want quick, native Java code without SQL — e.g., when building data flows or custom logic inline. Would love to hear if you’ve hit any pain points that a Java-native approach could help with.
theanonymousone
•
1y ago
Sure. So maybe notehr comment would be to make it (particularly the Series class), as compatible with Java Streams as possible.

Next step would likely be compatibility with popular libraries such as Apache Commons Math: https://commons.apache.org/proper/commons-math/userguide/sta...

mousomashakel•1y ago
Thanks! I'm aware of those great projects. Fahmatrix aims to offer a lightweight, dependency-free alternative that’s easy to embed in any Java app. DuckDB is super impressive, especially for SQL-heavy tasks — but my goal is more about a native, fluent API for those who prefer direct Java code over SQL.

Show HN: Huzzah – a novel approach to coding with AI

https://www.danielvaughn.dev/posts/huzzah/
195•danielvaughn•5h ago•110 comments

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
479•simedw•12h ago•105 comments

Show HN: We chased a weather balloon across Montana and never found it

https://radi8.dev/blog/uplink/
49•radeeyate•6h ago•21 comments

Show HN: Omacosy – Omarchy-style tiling desktop for macOS, no SIP

https://github.com/paulsp94/omacosy
46•paulsp•9h ago•37 comments

Show HN: Open-source Stripe Connect alternative

https://zoneless.com
61•tinyprojects•9h ago•24 comments

Show HN: luoluoAI – OpenAI-compatible and Claude Messages API gateway

https://api.luoluocoder.com/
1•siofeng•40m ago•0 comments

Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours

https://pub.doub.ly/
59•knaught•9h ago•37 comments

Show HN: sce (Simple Console Editor)

https://github.com/volution/simple-console-editor
15•ciprian_craciun•5d ago•0 comments

Show HN: A data viewer for choosing Frigate-compatible IP cameras

https://github.com/ch-bas/cctv-camera-database
34•martinAndy•2h ago•3 comments

Show HN: DumpSort – drop screenshots/PDFs, get a named zip (browser-only)

https://dumpsort.vercel.app
3•davidlifschitz•2h ago•0 comments

Show HN: Molecule.dev is an AI-first composable package ecosystem

https://github.com/molecule-dev/molecule
2•loh•3h ago•1 comments

Show HN: Praxos – team messaging with built-in memory

https://www.praxos.ai/
5•mogusian•3h ago•2 comments

Show HN: PingChange – monitor web pages and OpenAPI specs for meaningful changes

https://pingchange.com
2•epigos•3h ago•0 comments

Show HN: Verified business dashboards inside ChatGPT and Claude via MCP Apps

https://www.corpusiq.io/docs/hermes/mcp/mcp-apps-interactive-ui
2•corpusiq_io•3h ago•0 comments

Show HN: Sourcery – Benchmark for search APIs on the sources they return

https://sameerhimati.com/sourcery/
3•sameerhimati•3h ago•1 comments

Show HN: WaveHouse – Supabase for ClickHouse

https://wavehouse.dev
11•ericandr•6h ago•3 comments

Show HN: Astronomy Buddy–what's worth pointing a telescope at tonight

https://astronomy-buddy.com/
3•TheFunkyMonk•4h ago•0 comments

Show HN: Encrypt messages locally into self-contained links

https://diaryof.me/tools/
4•cryptographical•4h ago•1 comments

Show HN: Paint-by-numbers pixel art that 24 strangers fill in together

https://fillgood.io
5•einkaufspilot•4h ago•0 comments

Show HN: We Added Notion Calendar to *Superhuman for iMessage

3•jmatan•4h ago•0 comments

Show HN: Meridian(PH #1) – Automatic AI Workjournal for Devs

https://github.com/Meridiona/meridian
4•adithyaharish•4h ago•0 comments

Show HN: Streambench – Native Mac Client for Kafka and NATS

https://streambench.app
13•valentinprgnd•6d ago•4 comments

Show HN: trailers.fm – live channel of movie trailers

https://trailers.fm/
4•dogancan•5h ago•1 comments

Show HN: Language Audio Trainer – Learn languages without looking at the screen

https://playling.netlify.app/
2•SalaevAl•5h ago•0 comments

Show HN: Sitmap – a World in Conflict inspired map maker for Cold War scenarios

https://tomaytotomato.github.io/sitmap/
7•tomaytotomato•11h ago•3 comments

Show HN: Skilldocs – Figma for Markdown

https://skilldocs.dev/tour
2•rajivayyangar•6h ago•1 comments

Show HN: Sentrint, a security scanner for projects build with LLMs

https://sentrint.com/
5•Gourabdg•11h ago•2 comments

Show HN: Halmos.Science - Hacker News for math, the server checks the proofs

https://halmos.science/
3•nadermx•6h ago•0 comments

Show HN: Process your solar eclipse data

https://github.com/dmead/solar-eclipse-timelapse
2•dmead•6h ago•0 comments

Show HN: See what's behind any website: DNS, hosting, security, tech stack

https://heckzar.app/
2•nimsarajay•6h ago•2 comments