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

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

mousomashakel•11mo 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: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
13•ozarkerD•2h ago•4 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
90•muchael•12h ago•32 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
5•brikym•4h ago•2 comments

Show HN: Sudomake Friends, personalized AI personas in a Telegram group chat

https://github.com/audiodude/sudomake-friends/
4•audiodude•4h ago•0 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
8•kodjima33•8h ago•3 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
29•parzivalt•4d ago•25 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
24•lucas_vieira•10h ago•5 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
173•porsche959•15h ago•63 comments

Show HN: Leaking AWS Keys from a Trading Competition Sandbox via stdout

https://github.com/JakOb-dotcom/cloud-sandbox-security-analysis/
3•JakOb-dotcom•3h ago•0 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
4•thmsmxwll•3h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•1d ago•52 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
90•focom•1d ago•50 comments

Show HN: Compile English specs into 22 MB neural functions that run locally

9•yuntian•13h ago•0 comments

Show HN: US keyboards don't have enough keys, so I switched to Japanese

https://simone.org/hyperjis/
4•smnrg•7h ago•0 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•2d ago•45 comments

Show HN: Monadic Networking Library for Go

https://github.com/philip-peterson/fp-go-net
3•ironmagma•10h ago•0 comments

Show HN: Kelet – Root Cause Analysis agent for your LLM apps

https://kelet.ai/
47•almogbaku•1d ago•23 comments

Show HN: Pseudonymizing sensitive data for LLMs without losing context

https://atticsecurity.com/en/blog/why-llms-hate-fake-data-token-proxy/
4•n00pn00p•16h ago•4 comments

Show HN: Tine – Drive Wayland Around with Agents

https://github.com/smythp/tine
4•tarboreus•11h ago•4 comments

Show HN: Dependicus, a dashboard for your monorepo's dependencies

https://descriptinc.github.io/dependicus/
6•irskep•11h ago•1 comments

Show HN: Skillgrab – scan any project, auto-install matching AI skills

https://briascoi.github.io/skillgrab/
6•ismaelb•16h ago•1 comments

Show HN: Cush – curl your shell, an HTTP tunnel for AI agents

https://github.com/statespace-tech/cush
2•esafranchik•12h ago•1 comments

Show HN: MCP server gives your agent a budget (save tokens, get smarter results)

https://l6e.ai
5•bennettdixon•13h ago•2 comments

Show HN: The RUM Conjecture Explained [video]

https://www.youtube.com/watch?v=DGoI6T3SGfY
3•rcron•5h ago•0 comments

Show HN: Avec – iOS email app that lets you handle your Gmail inbox in seconds

https://apps.apple.com/us/app/avec-email-app-for-gmail/id6742199038
18•jnnnthnn•13h ago•4 comments

Show HN: CD-Deluxe for the Command Line

https://github.com/m6z/cd-deluxe
2•m6z•13h ago•1 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
516•a-ve•3d ago•298 comments

Show HN: Scope-structured arena memory for C, O(1) cleanup, no GC/borrow checker

https://github.com/hollow-arena/ariandel
3•theperezident•14h ago•0 comments

Show HN: SafeWeave – 8 security scanners as an MCP server inside your AI editor

https://safeweave.dev
2•techxeni•14h ago•0 comments

Show HN: Lazyagent – TUI for to watch all your AI coding agents

https://github.com/chojs23/lazyagent
8•neozz•15h ago•0 comments