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

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

mousomashakel•12mo 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: Running the second public ODoH relay

https://numa.rs/blog/posts/odoh-anonymous-dns-without-an-account.html
106•rdme•9h ago•36 comments

Show HN: Visualizing Tiny LLMs from OpenAI's Parameter Golf

https://leebutterman.com/2026/05/01/visualizing-tiny-llms-in-parameter-golf.html
2•lsb•1h ago•1 comments

Show HN: Needle: We Distilled Gemini Tool Calling into a 26M Model

https://github.com/cactus-compute/needle
725•HenryNdubuaku•2d ago•206 comments

Show HN: Browse 61 3D Printable Robots

https://orobot.io/
6•xanderjanz•2h ago•0 comments

Show HN: Nibble

https://github.com/glouw/nibble
91•glouwbug•18h ago•23 comments

Show HN: Yes We Scan: rescue old scanners with an in-browser Linux VM and WebUSB

https://yes-we-scan.app/
2•gmac•3h ago•1 comments

Show HN: Halgorithem – Catching AI Hallucinations Using Trees, No AI in Pipeline

https://github.com/TangibleResearch/Halgorithem
4•amitabhi•4h ago•1 comments

Show HN: Gigacatalyst – Extend your SaaS with an embedded AI builder

59•namanyayg•2d ago•24 comments

Show HN: 3D-Agent – AI that edits Blender scenes through the Python API

https://3d-agent.com/blender-ai/plugin
2•gsunshinel•5h ago•5 comments

Show HN: OpenSpec – OpenAPI/Swagger explorer with a contract linter

https://openspec.vercel.app/
2•geox•1h ago•0 comments

Show HN: A simple Claude skin for ChatGPT

https://github.com/dmd/aimpostor
5•dmd•6h ago•1 comments

Show HN: Aion a Rust Database

https://github.com/ayoubnabil/aiondb
4•K9987plus•6h ago•0 comments

Show HN: Get dopamine from real action instead of doomscrolling

https://quest.visionary-path.com/
4•DaryaHr•6h ago•5 comments

Show HN: Sanjaya – Extract structured datasets from academic journals

https://sanjaya-8ng27s9p4-oug-ts-projects.vercel.app/
2•oug-t•6h ago•1 comments

Show HN: PandoCast: open-source Pandora player to solve an annoyance I had

https://github.com/lennyxc/PandoCast
2•lxchase•6h ago•2 comments

Show HN: Agentic interface for mainframes and COBOL

https://www.hypercubic.ai/hopper
92•sai18•2d ago•49 comments

Show HN: Statewright – Visual state machines that make AI agents reliable

https://github.com/statewright/statewright
119•azurewraith•2d ago•54 comments

Show HN: TikTok but for scientific papers

https://andreaturchet.github.io/website/index.html
189•ciwrl•3d ago•76 comments

Show HN: Fuse-stripped-notebooks uses FUSE to make .ipynb better for grep

https://github.com/bm371613/fuse-stripped-notebooks
3•bm371613•8h ago•0 comments

Show HN: NoPoint – Pitch decks vibe coded instead of clicked (open source)

https://nopoint.app
2•mewc•9h ago•1 comments

Show HN: ChangeSpec – An open standard for notices in software changes

https://changespec.org/
3•cdnsteve•10h ago•1 comments

Show HN: We Made Open Source Eye Tracking

https://github.com/Walker-Industries-RnD/shinra-meisin/tree/main
3•WalkerDev•13h ago•2 comments

Show HN: A modern Music Player Daemon based on Rockbox firmware

https://github.com/tsirysndr/rockbox-zig
121•tsiry•5d ago•27 comments

Show HN: Neural window manager, neural network moving windows from mouse actions

https://lusob.github.io/neural-os/
7•lusob•1d ago•0 comments

Show HN: Torrix, self hosted, LLM Observability,(no Postgres, no Redis)

https://github.com/torrix-ai/install
41•AdarshRao23•1d ago•4 comments

Show HN: OpenGravity – A zero-install, BYOK vanilla JS clone of Antigravity

https://github.com/ab-613/opengravity
102•ab613•3d ago•30 comments

Show HN: I made a Clojure-like language in Go, boots in 7ms

https://github.com/nooga/let-go
280•marcingas•5d ago•84 comments

Show HN: Containarium – self-hosted sandbox for AI agents, MCP-native

https://github.com/footprintai/Containarium
5•hsin003•17h ago•1 comments

Show HN: FreeFax (iOS) – a data point on shipping solo with Claude

https://apps.apple.com/us/app/freefax-send-fax-from-phone/id6763340737
2•joelsfoster•7h ago•0 comments

Show HN: MerryDiv – Track dividends across all your brokerage accounts

https://www.merrydiv.com/
2•zouko•18h ago•0 comments