frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
Polars and duckdb interoperate nicely and can enable this flexibility
theanonymousone•8mo ago
Does Polars have a Java library?
mousomashakel•8mo 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.
theanonymousone•8mo 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•8mo 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.
skanga•8mo ago
What about Tablesaw, Apache Arrow? How does this compare ...
mousomashakel•8mo 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•8mo ago
Nice!

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

mousomashakel•8mo 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.

Show HN: Moltbook – A social network for moltbots (clawdbots) to hang out

https://www.moltbook.com/
230•schlichtm•3d ago•834 comments

Show HN: Minimal – Open-Source Community driven Hardened Container Images

https://github.com/rtvkiz/minimal
97•ritvikarya98•16h ago•27 comments

Show HN: OpenJuris – AI legal research with citations from primary sources

https://openjuris.org/
11•Zachzhao•9h ago•4 comments

Show HN: An extensible pub/sub messaging server for edge applications

https://github.com/narwhal-io/narwhal
40•ortuman•3d ago•0 comments

Show HN: I trained a 9M speech model to fix my Mandarin tones

https://simedw.com/2026/01/31/ear-pronunication-via-ctc/
450•simedw•1d ago•135 comments

Show HN: Phage Explorer

https://phage-explorer.org/
118•eigenvalue•1d ago•28 comments

Show HN: Booktest – review-driven regression testing for LLM / ML behavior

https://github.com/lumoa-oss/booktest
2•arauhala•4h ago•1 comments

Show HN: Securing the Ralph Wiggum Loop – DevSecOps for Autonomous Coding Agents

https://github.com/agairola/securing-ralph-loop
2•agairola•5h ago•0 comments

Show HN: Amla Sandbox – WASM bash shell sandbox for AI agents

https://github.com/amlalabs/amla-sandbox
143•souvik1997•1d ago•73 comments

Show HN: Kolibri, a DIY music club in Sweden

https://kolibrinkpg.com/
139•EastLondonCoder•2d ago•30 comments

Show HN: Pinecone Explorer – Desktop GUI for the Pinecone vector database

https://www.pinecone-explorer.com
30•arsentjev•4d ago•4 comments

Show HN: Peptide calculators ask the wrong question. I built a better one

https://www.joyapp.com/peptides/
4•silviogutierrez•10h ago•0 comments

Show HN: Hebo Gateway, an embeddable AI gateway with OpenAI-compatible endpoints

https://github.com/8monkey-ai/hebo-gateway
2•dselvaggio•10h ago•0 comments

Show HN: Pinchwork – A task marketplace where AI agents hire each other

https://github.com/anneschuth/pinchwork
5•aschuth•15h ago•4 comments

Show HN: ToolKuai – Privacy-first, 100% client-side media tools

https://toolkuai.com/
6•indie_max•19h ago•0 comments

Show HN: I built a receipt processor for Paperless-ngx

5•smashah•11h ago•1 comments

Show HN: Cicada – A scripting language that integrates with C

https://github.com/heltilda/cicada
57•briancr•2d ago•38 comments

Show HN: Mystral Native – Run JavaScript games natively with WebGPU (no browser)

https://github.com/mystralengine/mystralnative
48•Flux159•4d ago•18 comments

Show HN: Warden – agent based framework for reviewing code

https://warden.sentry.dev
2•zeeg•14h ago•0 comments

Show HN: ShapedQL – A SQL engine for multi-stage ranking and RAG

https://playground.shaped.ai
80•tullie•4d ago•23 comments

Show HN: Agent Tinman – Autonomous failure discovery for LLM systems

https://github.com/oliveskin/Agent-Tinman
3•oliveskin•17h ago•0 comments

Show HN: LemonSlice – Upgrade your voice agents to real-time video

130•lcolucci•4d ago•130 comments

Show HN: The HN Arcade

https://andrewgy8.github.io/hnarcade/
349•yuppiepuppie•4d ago•121 comments

Show HN: Quorum-free replicated state machine built atop S3

https://github.com/io-s2c/s2c
6•mzazaipsc•18h ago•0 comments

Show HN: Build Web Automations via Demonstration

https://www.notte.cc/launch-week-i/demonstrate-mode
36•ogandreakiro•4d ago•20 comments

Show HN: I built an AI conversation partner to practice speaking languages

https://apps.apple.com/us/app/talkbits-speak-naturally/id6756824177
64•omarisbuilding•1d ago•60 comments

Show HN: One Human + One Agent = One Browser From Scratch in 20K LOC

https://emsh.cat/one-human-one-agent-one-browser/
319•embedding-shape•4d ago•152 comments

Show HN: SHDL – A minimal hardware description language built from logic gates

https://github.com/rafa-rrayes/SHDL
48•rafa_rrayes•4d ago•21 comments

Show HN: Moltbook Overtaken by Shellraiser

https://www.moltbook.com/post/74b073fd-37db-4a32-a9e1-c7652e5c0d59
3•mooball•20h ago•4 comments

Show HN: Free Text-to-Speech Tool – No Signup, 40 Languages

https://texttospeech.site/
5•digi_wares•20h ago•0 comments