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•9mo 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•9mo 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•9mo 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•9mo 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: I taught GPT-OSS-120B to see using Google Lens and OpenCV

6•vkaufmann•1h ago•0 comments

Show HN: Talk things through to find your next step

https://www.heyecho.app/
2•samxkoh•51m ago•0 comments

Show HN: JavaScript-first, open-source WYSIWYG DOCX editor

https://github.com/eigenpal/docx-js-editor
77•thisisjedr•1d ago•24 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
145•segmenta•14h ago•33 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.netviews.app
201•n1sni•1d ago•55 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
80•louis_w_gk•18h ago•18 comments

Show HN: Model Training Memory Simulator

https://czheo.github.io/2026/02/08/model-training-memory-simulator/
7•czheo•2d ago•0 comments

Show HN: ArtisanForge: Learn Laravel through a gamified RPG adventure

https://artisanforge.online/
31•grazulex•2d ago•2 comments

Show HN: Sol LeWitt-style instruction-based drawings in the browser

https://intervolz.com/sollewitt/
38•intervolz•10h ago•6 comments

Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

https://github.com/pretzelai/stripe-no-webhooks
56•prasoonds•13h ago•22 comments

Show HN: Multimodal perception system for real-time conversation

https://raven.tavuslabs.org
46•mert_gerdan•11h ago•12 comments

Show HN: I made paperboat.website, a platform for friends and creativity

https://paperboat.website/home/
64•yethiel•13h ago•26 comments

Show HN: Yan – Glitch Art Photo/Live Editor

https://yan.yichenlab.com/
2•xcc3641•2h ago•0 comments

Show HN: I vibecoded 177 tools for my own use (CalcBin)

https://calcbin.com
6•diNgUrAndI•4h ago•0 comments

Show HN: Goxe 19k Logs/S on an I5

https://github.com/DumbNoxx/goxe
8•nxus_dev•2d ago•1 comments

Show HN: Elysia JIT "Compiler", why it's one of the fastest JavaScript framework

https://elysiajs.com/internal/jit-compiler
48•saltyaom•2d ago•10 comments

Show HN: Clawe – open-source Trello for agent teams

https://github.com/getclawe/clawe
61•Jonathanfishner•10h ago•38 comments

Show HN: HN Companion – web app that enhances the experience of reading HN

https://hncompanion.com
23•georgeck•13h ago•12 comments

Show HN: Deadlog – almost drop-in mutex for debugging Go deadlocks

https://github.com/stevenctl/deadlog
15•dirteater_•13h ago•1 comments

Show HN: Sheety – An open-source CRM that with Google Sheets as DB

https://sheety.site
5•sisiwho•5h ago•0 comments

Show HN: Showboat and Rodney, so agents can demo what they've built

https://simonwillison.net/2026/Feb/10/showboat-and-rodney/
87•simonw•13h ago•51 comments

Show HN: Open-Source SDK for AI Knowledge Work

https://github.com/ClioAI/kw-sdk
19•ankit219•13h ago•1 comments

Show HN: LLMs are getting pretty good at Active Directory exploitation

https://blog.vulnetic.ai/another-day-another-domain-admin-a7b10c6239f6
3•danieltk76•7h ago•0 comments

Show HN: Algorithmically finding the longest line of sight on Earth

https://alltheviews.world
404•tombh•1d ago•175 comments

Show HN: Kanban-md – File-based CLI Kanban built for local agents collaboration

https://github.com/antopolskiy/kanban-md
17•santopol•20h ago•4 comments

Show HN: Ktop – a themed terminal system monitor with charts and OOM tracking

https://github.com/brontoguana/ktop
2•brontoguana•8h ago•1 comments

Show HN: NOOR – A Sovereign AI Core Built from the Heart of Suffering in Yemen

https://paragraph.com/@0x4fd3729a4fedf54a74b73d93f7f775a1ef520cec/noor-the-sovereign-ai-truth-fro...
3•suffering•8h ago•0 comments

Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986

https://www.wallstreetraider.com/story.html
42•benstopics•1d ago•18 comments

Show HN: Printable Classics – Free printable classic books for hobby bookbinders

https://printableclassics.com
77•bookman10•1d ago•32 comments

Show HN: Shell script and text database for vintage Lego Pirates collections

https://github.com/bbu/classic-pirates.sh
3•bluetomcat•10h ago•0 comments