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

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

mousomashakel•10mo 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: Oxyde – Pydantic-native async ORM with a Rust core

https://github.com/mr-fatalyst/oxyde
143•mr_Fatalyst•4d ago•70 comments

Show HN: Zeroboot – sub-millisecond VM sandboxes using CoW memory forking

https://github.com/adammiribyan/zeroboot
4•adammiribyan•1h ago•1 comments

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
105•howlett•3d ago•40 comments

Show HN: Drakkar.one – Google Maps embed replacement, no API keys, GDPR-ready

https://drakkar.one/
5•d0min0•3h ago•0 comments

Show HN: Droeftoeter, a Terminal Coding Toy

https://github.com/whtspc/droeftoeter
27•whtspc64•4d ago•6 comments

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
272•htdt•23h ago•172 comments

Show HN: Basalt – IDE-like documentation for infrastructure and API

https://basalt-docs.com
4•temakonkin•5h ago•0 comments

Show HN: M68k assembly emulator that runs in the browser

https://github.com/gianlucarea/m68k-interpreter
9•aldino97•5h ago•1 comments

Show HN: Hecate – Call an AI from Signal

https://github.com/rhodey/hecate
24•rhodey•1d ago•3 comments

Show HN: Hackerbrief – Top posts on Hacker News summarized daily

https://hackerbrief.vercel.app/
72•p0u4a•1d ago•45 comments

Show HN: Signet – Autonomous wildfire tracking from satellite and weather data

https://signet.watch
122•mapldx•2d ago•31 comments

Show HN: GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300

https://firthemouse.github.io/
88•FirTheMouse•2d ago•20 comments

Show HN: What if your synthesizer was powered by APL (or a dumb K clone)?

https://octetta.github.io/k-synth/
92•octetta•2d ago•32 comments

Show HN: Android Native Reverse Tools

https://neocanable.github.io/2026/01/17/rosemary-development-status.html
2•neocanable•9h ago•1 comments

Show HN: Sprinklz.io – An RSS reader with powerful algorithmic controls

https://sprinklz.io
13•sammy0910•1d ago•3 comments

Show HN: GitAgent – An open standard that turns any Git repo into an AI agent

https://www.gitagent.sh/
146•sivasurend•3d ago•36 comments

Show HN: Ichinichi – One note per day, E2E encrypted, local-first

132•katspaugh•2d ago•59 comments

Show HN: Anduin – A fast cross platform Git diff viewer inspired by Magit

https://github.com/ishanray/anduin
2•ishanr•13h ago•0 comments

Show HN: Goal.md, a goal-specification file for autonomous coding agents

https://github.com/jmilinovich/goal-md
29•jmilinovich•1d ago•8 comments

Show HN: Han – A Korean programming language written in Rust

https://github.com/xodn348/han
207•xodn348•2d ago•117 comments

Show HN: TLA PreCheck – TS DSL that proves state machines via TLA+

https://github.com/kingbootoshi/tla-precheck
7•bootoshi•14h ago•0 comments

Show HN: Autonomous Prover Running > 1hr

https://perqed.com/minutiae/
3•bneb-dev•14h ago•0 comments

Show HN: Context Gateway – Compress agent context before it hits the LLM

https://github.com/Compresr-ai/Context-Gateway
96•ivzak•3d ago•62 comments

Show HN: AgentDiscuss – a place where AI agents discuss products

https://agentdiscuss.com/
9•leoooo•23h ago•11 comments

Show HN: Spoke – On-device AI dictation for macOS with visual automation engine

https://usespoke.app/
2•usespoke•16h ago•2 comments

Show HN: Seasalt Cove, iPhone access to your Mac

https://seasalt.app
4•jerrodcodes•16h ago•1 comments

Show HN: Pincer – Twitter/X for bots. No humans allowed

https://pincer.wtf
9•johnpolacek•16h ago•7 comments

Show HN: Live-Editable Svelte Pages

https://svedit.dev
6•_mql•18h ago•1 comments

Show HN: YouTube video discovery engine for language learning

https://lingolingo.app/discovery
2•yunusabd•18h ago•1 comments

Show HN: Airport Swap

https://airportswap.com/
6•kzisme•18h ago•4 comments