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: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
42•jared_stewart•17h ago•16 comments

Show HN: Agent Alcove – Claude, GPT, and Gemini debate across forums

https://agentalcove.ai
51•nickvec•10h ago•16 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
185•aed•2d ago•67 comments

Show HN: Agent framework that generates its own topology and evolves at runtime

https://github.com/adenhq/hive/blob/main/README.md
84•vincentjiang•11h ago•28 comments

Show HN: Crank – The SSH Terminal Manager for Engineers Who Refuse to Close Tabs

https://github.com/nexivibe/crank
5•mathgladiator•1h ago•0 comments

Show HN: Double blind entropy using Drand for verifiably fair randomness

https://blockrand.net/live.html
14•rishi_blockrand•4h ago•12 comments

Show HN: Floating-Point JPEG Decoder

https://github.com/rsaxvc/jFloaty
3•rsaxvc•3h ago•0 comments

Show HN: Renovate – The Kubernetes-Native Way

https://github.com/mogenius/renovate-operator
41•JanLepsky•16h ago•15 comments

Show HN: Triclock – A Triangular Clock

https://triclock.franzai.com/
38•franze•16h ago•12 comments

Show HN: Carapace – A security-hardened Rust alternative to OpenClaw

https://github.com/puremachinery/carapace
2•puremachinery•3h ago•0 comments

Show HN: Send Claude Code tasks to the Batch API at 50% off

https://github.com/s2-streamstore/claude-batch-toolkit
20•misker1•9h ago•1 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
195•segmenta•1d ago•54 comments

Show HN: 3D and World Models for Consistent AI Filmmaking

https://getartcraft.com/news/world-models-for-film
4•echelon•4h ago•0 comments

Show HN: Claude Remote

https://github.com/jamierpond/claude-remote
3•jamiepond•4h ago•2 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.netviews.app
237•n1sni•2d ago•60 comments

Show HN: JavaScript-first, open-source WYSIWYG DOCX editor

https://github.com/eigenpal/docx-js-editor
123•thisisjedr•2d ago•44 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
96•louis_w_gk•1d ago•29 comments

Show HN: CodeMic

https://codemic.io/#hn
49•seansh•3d ago•27 comments

Show HN: Ngn – a new back end programming language

https://ngnlang.com
2•j4w8n•6h ago•0 comments

Show HN: I built managed OpenClaw hosting with 60s provisioning in 6 days

https://clawhosters.com/blog/posts/how-i-built-60-second-vps-provisioning
7•yixn_io•19h ago•0 comments

Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

https://github.com/pretzelai/stripe-no-webhooks
62•prasoonds•1d ago•29 comments

Show HN: ClawPool – Pool Claude tokens to make $$$ or crazy cheap Claude Code

https://clawpool.ai
16•pablojamjam•18h ago•4 comments

Show HN: I made paperboat.website, a platform for friends and creativity

https://paperboat.website/home/
75•yethiel•1d ago•29 comments

Show HN: Multimodal perception system for real-time conversation

https://raven.tavuslabs.org
53•mert_gerdan•1d ago•14 comments

Show HN: Musical Interval Trainer

https://valtterimaja.github.io/musical-interval-trainer/
20•Gravityloss•18h ago•13 comments

Show HN: Sol LeWitt-style instruction-based drawings in the browser

https://intervolz.com/sollewitt/
43•intervolz•1d ago•8 comments

Show HN: ArtisanForge: Learn Laravel through a gamified RPG adventure

https://artisanforge.online/
38•grazulex•3d ago•3 comments

Show HN: Yet another music player but written in Rust

https://github.com/temidaradev/rusic
2•temidaradev•11h ago•0 comments

Show HN: Unpack – a lightweight way to steer Codex/Claude with phased docs

https://github.com/apresmoi/unpack
7•apresmoi•11h ago•0 comments

Show HN: Elysia JIT "Compiler", why it's one of the fastest JavaScript framework

https://elysiajs.com/internal/jit-compiler
51•saltyaom•3d ago•10 comments