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•9mo 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•9mo 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•9mo ago
Polars and duckdb interoperate nicely and can enable this flexibility
theanonymousone•9mo ago
Does Polars have a Java library?
mousomashakel•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Nice!

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

mousomashakel•9mo 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: Iron-Wolf – Wolfenstein 3D source port in Rust

https://github.com/Ragnaroek/iron-wolf
41•ragnaroekX•5h ago•13 comments

Show HN: Museum of Handwritten Code (If, While, Binary Search, Merge Sort)

https://museum.codes
3•sgraphics8•28m ago•1 comments

Show HN: Winslop – De-Slop Windows

https://github.com/builtbybel/Winslop
3•guilamu•1h ago•0 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
99•irasigman•23h ago•50 comments

Show HN: A native macOS client for Hacker News, built with SwiftUI

https://github.com/IronsideXXVI/Hacker-News
243•IronsideXXVI•1d ago•162 comments

Show HN: SmartMan – A modern, interactive TUI for Linux man pages

https://github.com/ambaskaryash/smartman-cli
2•ambaskaryash•3h ago•0 comments

Show HN: Rigour – Open-source quality gates for AI coding agents

https://rigour.run
2•erashu212•3h ago•1 comments

Show HN: Eliezer – Tiny (~7K LOC) Self-Hosted AI Agent (PWA, Self-Editing)

https://www.eliezer.app/
2•dvictor•3h ago•1 comments

Show HN: MQTT Topic Lab – MQTT client with buttons using command variables

https://github.com/alsoftbv/topic-lab
2•altug•4h ago•0 comments

Show HN: ClaudeUsage – macOS menu bar app to track your Claude Pro usage limits

https://github.com/linuxlewis/claude-usage
5•linuxlewis•5h ago•0 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
181•lawrencechen•1d ago•72 comments

Show HN: The Sanguine Box – A 2026 vision for solo-produced comics

https://sanguinebox.com/comics/sanguine/
2•Balvarez•6h ago•0 comments

Show HN: Blindspot – a userscript to block tab-switch detection

https://github.com/gsekulski/blindspot
2•gsekulski•6h ago•0 comments

Show HN: 3mins.news – AI daily news briefing in 17 languages, designed to end

https://3mins.news/en
4•ethan_zhao•7h ago•1 comments

Show HN: Micasa – track your house from the terminal

https://micasa.dev
634•cpcloud•2d ago•207 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
194•simondanisch•2d ago•89 comments

Show HN: Tired of BIG JavaScript frameworks? try this

https://github.com/aggroot/hctx
2•aggroot•8h ago•1 comments

Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

https://github.com/fjrevoredo/mini-diarium
131•holyknight•2d ago•62 comments

Show HN: A small, simple music theory library in C99

https://github.com/thelowsunoverthemoon/mahler.c
56•lowsun•1d ago•18 comments

Show HN: Claude Code Open – AI Coding Platform with Web IDE and Agents

https://github.com/kill136/claude-code-open
2•694623326•9h ago•0 comments

Show HN: Agent Passport – OAuth-like identity verification for AI agents

13•samerismail•20h ago•3 comments

Show HN: Go Implementation of Systemd Time

https://gitlab.com/allddd/go-systemd-time
2•allddd•10h ago•0 comments

Show HN: Cmcp – Aggregate all your MCP servers behind 2 tools

https://github.com/assimelha/cmcp
2•aceelric•11h ago•2 comments

Show HN: Script Snap – Extract code from videos

https://script-snap.com/
12•liumw1203•16h ago•3 comments

Show HN: New kid on the block: meet Ajime, robotics CI/CD next-gen platform

2•ajime•11h ago•6 comments

Show HN: GenPPT AI – Turn any idea into professional slides in seconds

https://genppt.ai/
4•polarisminor•12h ago•0 comments

Show HN: undent - fix indentation issues in multiline strings in js

https://github.com/okikio/undent
2•okikio•12h ago•1 comments

Show HN: Secure-by-default OpenClaw on Ubuntu with verifiable security reports

https://github.com/NinoSkopac/openclaw-secure-kit
2•ninoskopac•12h ago•0 comments

Show HN: DomeAPI (YC F25) was acquired. pmxt is the open-source equivalent

https://github.com/pmxt-dev/pmxt
3•SamTinnerholm•12h ago•0 comments

Show HN: Single HTML opinionated Kanban board

https://github.com/harshhemani/flowboard
5•ulam2•18h ago•1 comments