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

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

mousomashakel•1y 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.
theanonymousone
•
1y 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•1y 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.

Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

https://github.com/zdk/lowfat
109•zdkaster•16h ago•56 comments

Show HN: Omni – Local-first multimodal file search on macOS

https://hanxiao.io/omni/
2•artex_xh•2h ago•0 comments

Show HN: I nerfed our coding agents on purpose

19•noahfradin•2h ago•10 comments

Show HN: On-device transcriber that's 97% accurate at identifying speakers

https://mimicscribe.app/
8•marshalla•7h ago•3 comments

Show HN: OWASP VulnerableApp Modern Extensible and Scalable vulnerable app

https://github.com/SasanLabs/VulnerableApp
3•newaccount12344•5h ago•1 comments

Show HN: I rebuilt a tiny old volleyball game I loved

https://volleyhop.com/
4•cebceb•5h ago•2 comments

Show HN: Mercek – A Desktop IDE for AWS ECS

https://www.mercek.dev/
61•utibeumanah•1d ago•27 comments

Show HN: Bash Runtime for AWS Lambda

https://github.com/interchecks/bash-lambda-runtime
2•tw1gz•6h ago•0 comments

Show HN: Prela – Purely Algebraic Relation Combinators

https://github.com/remysucre/prela
70•remywang•4d ago•13 comments

Show HN: Local-first fast CPU image to text for screenshots, PDFs, webpages

https://github.com/kouhxp/textsnap
13•mrkn1•14h ago•14 comments

Show HN: Edsger – A handwritten Clojure REPL for the reMarkable 2

https://handwritten.danieljanus.pl/2026-06-01-edsger.html
258•nathell•3d ago•34 comments

Show HN: Uruky (EU-based Kagi alternative) now has Image Search and URL Rewrites

https://uruky.com/?il=en
231•BrunoBernardino•1d ago•216 comments

Show HN: I reverse-engineered the world maps of Test Drive III (1990 DOS game)

https://github.com/s-macke/Test-Drive-3-Maps
215•s-macke•5d ago•56 comments

Show HN: A Simplistic UI for Rich Hickey's Design in Practice

https://github.com/bmillare/design_in_practice_ui
4•bmillare•9h ago•1 comments

Show HN: Altersend – File sharing without cloud

https://github.com/denislupookov/altersend
12•denisdev1•19h ago•4 comments

Show HN: Cost.dev (YC W21) – making agents cost-aware and cheaper to call

https://cost.dev/
35•akh•1d ago•22 comments

Show HN: Hitoku Draft – Context aware local assistant

https://hitoku.me/draft/
20•lostathome•1d ago•6 comments

Show HN: Eyeball

https://eyeball.rory.codes/
291•mrroryflint•3d ago•88 comments

Show HN: NoiR Code – because QR sounds similar to "noir"

https://noir-code.suncake.xyz/
12•Sunkek•2d ago•5 comments

Show HN: Papernews – self-hosted daily newspaper PDF for your reMarkable

https://github.com/marcj/papernews
11•bourbonproof•1d ago•4 comments

Show HN: Nutrepedia – Nutrition info in 29 locales built with Clojure and Htmx

https://nutrepedia.com/en-us/
134•llovan•2d ago•29 comments

Show HN: Netlora diagnose bufferbloat and why fast internet feels slow

https://getnetlora.com/
4•arashfratto•12h ago•0 comments

Show HN: Formally verified polygon intersection – Opus 4.8 oneshots, prev failed

https://github.com/schildep/verified-polygon-intersection
48•permute•1d ago•14 comments

Show HN: Boxes.dev: ditch localhost; run Claude Code and Codex in the cloud

https://boxes.dev
97•nab•1d ago•72 comments

Show HN: Fast Android File Manager that works

https://github.com/djanogly/fast-android-file-manager
3•jackjayd•12h ago•3 comments

Show HN: Mnemo – local-first AI memory layer for any LLM (Rust, SQLite,petgraph)

https://github.com/zaydmulani09/mnemo
59•zaydmulani•2d ago•26 comments

Show HN: I embedded 685M public texts in 32 minutes (on 8x A100, Rust, TensorRT)

https://github.com/Artain-AI/ignite-ms
6•ddayanov•1d ago•0 comments

Show HN: Live breath detection and biofeedback from a phone microphone

https://github.com/shiihaa-app/shiihaa-breath-detection
66•felixzeller•3d ago•26 comments

Show HN: Concord – Discord in Terminal

https://github.com/chojs23/concord
4•n3ozz•16h ago•1 comments

Show HN: Using Haskell to play music on 3D printer motors (2020)

https://lucasoshiro.github.io/software-en/2020-07-31-music_gcode/
12•lucasoshiro•1d ago•2 comments