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: A weird thing that detects your pulse from the browser video

https://pulsefeedback.io/
58•kilroy123•3d ago•26 comments

Show HN: Beecon Infrastructure as Intent, open source IaC built for AI agents

https://beecon.sh
3•gtlpanda•1h ago•0 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
128•amaury_bouchard•22h ago•60 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
92•lardissone•16h ago•34 comments

Show HN: Qry – CLI web search that always outputs JSON, with swappable back ends

https://github.com/justEstif/qry
2•justEstif•3h ago•0 comments

Show HN: SafeAgent – exactly-once execution guard for AI agent side effects

3•Lions2026•3h ago•2 comments

Show HN: Ethernity: Secure paper backups with age encryption and SSS

https://github.com/MinorGlitch/ethernity
2•minorglitch•3h ago•1 comments

Show HN: SiClaw – Open-source AIOps with a hypothesis-driven diagnostic engine

https://github.com/scitix/siclaw
2•SherryWong•4h ago•0 comments

Show HN: DailyDefense – Daily tower defense for agents or humans

https://www.dailydefense.ai
2•pj4533•4h ago•0 comments

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

https://github.com/c0m4r/kula
82•c0m4r•1d ago•54 comments

Show HN: I open-sourced my Steam game, 100% written in Lua, engine is also open

https://github.com/willtobyte/reprobate
53•delduca•1d ago•20 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
280•squidleon•1d ago•161 comments

Show HN: Claude-replay – A video-like player for Claude Code sessions

https://github.com/es617/claude-replay
96•es617•1d ago•32 comments

Show HN: Leonardo – FFmpeg Video Converter for Linux Creators

https://github.com/RossContino1/Leonardo
8•RossC17331•13h ago•2 comments

Show HN: Jarvey - a local JARVIS for MacOS

https://github.com/novynlabs-repo/Jarvey
2•AhmedAshraf•8h ago•0 comments

Show HN: OpenGraviton – Run 500B+ parameter models on a consumer Mac Mini

https://opengraviton.github.io
8•fatihturker•14h ago•2 comments

Show HN: SRA – A new architectural pattern for modern product engineering

https://github.com/FelixZY/specification-realization-assembly-bible
4•FelixZY•12h ago•0 comments

Show HN: Help] I run 4 AI-driven companies simultaneously from my terminal

https://github.com/NikitaDmitrieff/auto-co-meta
3•Ndmtrieff•9h ago•2 comments

Show HN: Agentpng – turn agent sessions into shareable images

https://www.agentpng.dev/
3•siegers•9h ago•0 comments

Show HN: 1v1 coding game that LLMs struggle with

https://yare.io
25•levmiseri•2d ago•7 comments

Show HN: OpenGrammar Open-source, self-hostable Grammarly alternative

https://swadhinbiswas.github.io/opengrammar/
3•0x0003r•9h ago•0 comments

Show HN: MicroBin – Easy File Sharing for Everyone – Self-Hostable

https://my.microbin.eu/
2•dszb•10h ago•0 comments

Show HN: OculOS – Any desktop app as a JSON API via OS accessibility tree

https://github.com/huseyinstif/oculos
15•stif1337•23h ago•9 comments

Show HN: Meshcraft – Text-to-3D and image-to-3D with selectable AI engines

https://meshcraft.xyz
2•otmardev•10h ago•0 comments

Show HN: Ruffle.rs brought back a 2012 Flash MMO to the modern web

https://oldschoolrealms.com/
5•crosschainer•11h ago•0 comments

Show HN: Swarm – Program a colony of 200 ants using a custom assembly language

https://dev.moment.com/
189•armandhammer10•2d ago•61 comments

Show HN: Smelt – Extract structured data from PDFs and HTML using LLM

https://github.com/akdavidsson/smelt
4•smeltcli•17h ago•0 comments

Show HN: Diamond – an interactive CLI for editing trees

https://github.com/justindmassey/diamond
3•justindmassey•18h ago•0 comments

Show HN: TeamShotsPro – AI team headshots from a selfie in 60 seconds

https://www.teamshotspro.com
2•Mvhaperen•13h ago•0 comments

Show HN: I built a daily game that tests if you can tell 1999 apart from 2005

https://yeartobeat.com/
3•FKJ•13h ago•1 comments