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

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

mousomashakel•7mo 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 used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
454•pmaze•1d ago•136 comments

Show HN: GlyphLang – An AI-first programming language

30•goose0004•19h ago•18 comments

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

https://github.com/OlaProeis/Ferrite
216•OlaProis•17h ago•128 comments

Show HN: Porting xv6 to HiFive Unmatched board

https://github.com/eyengin/xv6-riscv-unmatched
24•eyengin•1d ago•0 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
149•projectyang•23h ago•81 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

121•jamesponddotco•19h ago•45 comments

Show HN: mcpc – Universal command-line client for Model Context Protocol (MCP)

https://github.com/apify/mcp-cli
47•jancurn•5d ago•3 comments

Show HN: I built an Open Source screen timer for the m5stickc (Arduino)

https://partridge.works/screenie-christmas-project-2025-26/
16•urbandw311er•5d ago•0 comments

Show HN: Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
31•kiwigod17•2d ago•7 comments

Show HN: Vehluna – A visual focus timer with no login or tracking

https://vehluna.vercel.app/
3•ella_dev•4h ago•0 comments

Show HN: VAM Seek – 2D video navigation grid, 15KB, zero server load

https://github.com/unhaya/vam-seek
39•haasiy•16h ago•12 comments

Show HN: Terminal UI for GCP

https://github.com/yogirk/tgcp
2•yogirk1•5h ago•1 comments

Show HN: Enforcing time-bounded technical debt with Git history

https://github.com/jobin-404/debtbomb
3•jjdev8157•6h ago•0 comments

Show HN: Marten – Elegant Go web framework (nothing in the way)

https://github.com/gomarten/marten
17•jackprescott•21h ago•5 comments

Show HN: Umaro – An interactive music theory suite for guitarists

https://www.umaro.app/
14•SnowingXIV•15h ago•4 comments

Show HN: I put economic rules in silicon that can't be changed by software

2•PrimalOrigins•2h ago•1 comments

Show HN: I built a fast, minimal Dota 2 counter tool to help me learn the game

https://dota2.tools/
2•lijinxuan•8h ago•1 comments

Show HN: I made a memory game to teach you to play piano by ear

https://lend-me-your-ears.specr.net
539•vunderba•2d ago•167 comments

Show HN: We Identified a Counterfeit Pharmaceutical Product in Uzbekistan

https://yashsm01-glwdj.wordpress.com/2026/01/11/how-i-help-to-fight-counterfeit-pharmaceuticals-w...
3•yashsm01•8h ago•1 comments

Show HN: ESPTimeCast – DIY WiFi Clock and Weather Station for ESP32 / ESP8266

https://github.com/mfactory-osaka/ESPTimeCast
2•m-factory•8h ago•0 comments

Show HN: Various shape regularization algorithms

https://github.com/nickponline/shreg
74•nickponline•2d ago•5 comments

Show HN: Gyesme – exploring modularity and dependency boundaries in GNOME

https://www.gyesme.org
3•erikenanja•9h ago•1 comments

Show HN: Executable Markdown files with Unix pipes

121•jedwhite•2d ago•98 comments

Show HN: Rocket Launch and Orbit Simulator

https://www.donutthejedi.com/
161•donutthejedi•1d ago•38 comments

Show HN: EuConform – Offline-first EU AI Act compliance tool (open source)

https://github.com/Hiepler/EuConform
71•hiepler•1d ago•46 comments

Show HN: A website that auctions itself daily

https://www.thedailyauction.com/
41•nsomani•2d ago•19 comments

Show HN: macOS menu bar app to track Claude usage in real time

https://github.com/richhickson/claudecodeusage
158•RichHickson•3d ago•48 comments

Show HN: Scroll Wikipedia like TikTok

https://quack.sdan.io
325•sdan•2d ago•86 comments

Show HN: Show HN submissions have tripled since 2023

https://imgur.com/a/K0A1yc1
13•anythingworks•10h ago•3 comments

Show HN: Miditui – A terminal app/UI for MIDI composing, mixing, and playback

https://github.com/minimaxir/miditui
64•minimaxir•3d ago•13 comments