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: ConvertPNG2JPG – A 100% free, client-side image and PDF converter

https://convertpng2jpg.com/
2•pramaz•25m ago•1 comments

Show HN: IsDisposable – Open-source disposable email detection (160K+ domains)

https://www.npmjs.com/package/@isdisposable/js
2•junaidshaukat•1h ago•0 comments

Show HN: QuickBEAM – run JavaScript as supervised Erlang/OTP processes

https://github.com/elixir-volt/quickbeam
96•dannote•1d ago•14 comments

Show HN: Veil – A Minimal Neovim GUI for macOS with Metal Rendering

https://github.com/rainux/Veil
5•rainux•2h ago•0 comments

Show HN: The Alphabetical Clock

https://boat.horse/clock/
4•secretdark•3h ago•4 comments

Show HN: Crazierl – An Erlang Operating System

https://crazierl.org/demo/
59•toast0•13h ago•11 comments

Show HN: Create a full language server in Go with 3.17 spec support

https://github.com/owenrumney/go-lsp
86•rumno0•5d ago•19 comments

Show HN: Sheet Ninja – Google Sheets as a CRUD Back End for Vibe Coders

https://sheetninja.io
76•sxa001•22h ago•72 comments

Show HN: I made a "programming language" looking for feedback

https://github.com/alonsovm44/glupe
33•alonsovm•15h ago•35 comments

Show HN: BreezePDF – Free, in-browser PDF editor

https://breezepdf.com/?v=3
85•philjohnson•20h ago•40 comments

Show HN : DrawX - Excalidraw with Back End

https://drawx.ossy.dev
2•postatic•5h ago•1 comments

Show HN: DeepRepo – AI architecture diagrams from GitHub repos

https://deeprepo.dev
15•uwais12•15h ago•7 comments

Show HN: React-Rewrite – Figma for localhost that directly edits your codebase

https://github.com/donghaxkim/react-rewrite
3•donghaxkim•7h ago•1 comments

Show HN: Pglens – 27 read-only PostgreSQL tools for AI agents via MCP

https://github.com/janbjorge/pglens
8•jeeybee•17h ago•2 comments

Show HN: Real-time visualization of Claude Code agent orchestration

https://github.com/patoles/agent-flow
4•daco•7h ago•2 comments

Show HN: Public transit systems as data – lines, stations, railcars, and history

https://publictransit.systems
43•qwertykb•1d ago•20 comments

Show HN: Payphone Tag is territory game using Australia's 15,000 payphones

https://payphonetag.com
14•gangerang•20h ago•7 comments

Show HN: Timezone App – Visual meeting scheduler for distributed teams

https://timezoneapp.co/
16•choogi•16h ago•1 comments

Show HN: I made a free list of 100 places to promote your SaaS

https://launchdirectories.com
13•rosennn•16h ago•0 comments

Show HN: Agent Orchestrator, a local-first Harness Engineering control plane

13•gpgkd906•22h ago•0 comments

Show HN: /slot-machine development (CC vs. Codex; CE vs. superpowers)

https://github.com/pejmanjohn/slot-machine
5•pejmanjohn•17h ago•0 comments

Show HN: Tabical – Tinder-style city micro-itineraries, personalized by swipe

https://tabical.com/
8•akhilpotturi•13h ago•0 comments

Show HN: I built an OS that is pure AI

https://pneuma.computer
30•evanbarke•1d ago•38 comments

Show HN: We built a multi-agent research hub. The waitlist is a reverse-CAPTCHA

https://enlidea.com
29•LZK•1d ago•17 comments

Show HN: Turbolite – a SQLite VFS serving sub-250ms cold JOIN queries from S3

https://github.com/russellromney/turbolite
180•russellthehippo•3d ago•46 comments

Show HN: OS3-RNode, an RNode-Compatible LoRa Modem on CH32V003

https://netmonk.org/works/rnode-on-os3-ch32v003/
9•netmonk•20h ago•0 comments

Show HN: I put an AI agent on a $7/month VPS with IRC as its transport layer

https://georgelarson.me/writing/2026-03-23-nullclaw-doorman/
337•j0rg3•3d ago•97 comments

Show HN: Twitch Roulette – Find live streamers who need views the most

https://twitchroulette.net/
177•ellg•2d ago•95 comments

Show HN: Fio: 3D World editor/game engine – inspired by Radiant and Hammer

https://github.com/ViciousSquid/Fio
95•vicioussquid•3d ago•12 comments

Show HN: Optio – Orchestrate AI coding agents in K8s to go from ticket to PR

https://github.com/jonwiggins/optio
87•jawiggins•4d ago•58 comments