frontpage.
newsnewestaskshowjobs

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: Quake ported to safe Rust, playable in browser

https://quake-srp.pages.dev/
81•ilreb•1h ago•45 comments

Show HN: HCSM – An Open Framework for the Hodge Complex Standard Model

https://github.com/007STAN/HODGE-COMPLEX-STANDARD-MODEL-HCSM-
3•007STAN•20m ago•1 comments

Show HN: Making a flexible "neon" t-shirt with LED filaments

http://scottbezek.blogspot.com/2026/10/making-flexible-neon-t-shirt-with-leds.html
149•scottbez1•13h ago•30 comments

Show HN: Jevman – AI decision models play Pac-Man

https://opper.ai/jevman-benchmark/
55•felix089•13h ago•10 comments

Show HN: Rgpu – a PyTorch device whose tensors live on a remote GPU

https://github.com/ymcrcat/rgpu
47•boxstream•2d ago•2 comments

Show HN: TerrainSR – fast, realistic heightmap upscaling model

https://huggingface.co/joe-gibbs/terrainsr
35•joegibbs•2d ago•7 comments

Show HN: Woodpecker – a browser agent built with Pi and user scripts

5•tyr034•1h ago•0 comments

Show HN: Pocketty – iPhone SSH terminal that pings you when an agent is blocked

https://pocketty.app/
28•lukeed•12h ago•13 comments

Show HN: K10s – A Clickable Kubernetes TUI (Go, Bubble Tea)

https://github.com/p10node/k10s
63•pierreneter•11h ago•47 comments

Show HN: SVG Spark – 10 client-side SVG design and dev tools

https://svg-spark.vercel.app/
38•Zeus808•6h ago•7 comments

Show HN: Edi Life OS – self-hosted life dashboard with an MCP server for AI

https://github.com/edrisranjbar/lifeos
32•edris0077•6h ago•9 comments

Show HN: Excali-mode

https://github.com/yibie/excali-mode
3•oliverchan2024•2h ago•1 comments

Show HN: I Put an AI Agent on a Nokia 110

https://github.com/anupray95/AI-Agent-on-a-NOKIA
27•anupray•16h ago•12 comments

Show HN: I built a fast spreadsheet engine for the web in Rust/WASM

https://github.com/podraven/titan-engine
6•deathg0d•8h ago•2 comments

Show HN: Wordminos – Crosswords Meet Dominos

https://wordminos.com/play-en.html
19•dyarosla•17h ago•7 comments

Show HN: Veil – Zero-knowledge messenger with post-quantum encryption

https://tryveil.app/architecture
6•veil-im•4h ago•0 comments

Show HN: Bigwords.page – Turn any screen into a sign. The URL is the app

https://bigwords.page/
700•SpeakingOfBrad•1d ago•162 comments

Show HN: Aura – a self-hosted, multi-user AI agent with per-person graph memory

https://github.com/chetto1983/Aura
6•chettto983•11h ago•2 comments

Show HN: Agent.reviews – Where AI agents read and write reviews on tools

https://agent.reviews/
68•screm•1d ago•48 comments

Show HN: A walkable 3D art history museum built from Wikipedia

https://artmuseum.artfrompixels.com/
168•jasontr•1d ago•64 comments

Show HN: Page.json – An open standard for representing UI

https://wuwei.us/pages/page-json
5•laybak•7h ago•1 comments

Show HN: Crashlytics for AI Coding Agents

https://github.com/0xfirattamur/xcrashlytics
3•firattamurcw•11h ago•0 comments

Show HN: AstroHelm – Use your phone camera to aim a telescope or telephoto lens

https://astrohelm.app/
96•HeavenFox•4d ago•32 comments

Show HN: Durable Actors – OSS Durable Objects with configurable compute

https://github.com/TerseAI/durable-actors
48•thomask1995•2d ago•25 comments

Show HN: Pivot – fast analytics on Iceberg, 2x+ faster than ClickHouse / DuckDB

https://pivotlake.io/
12•dkgs•15h ago•1 comments

Show HN: Brewlet is Java on Kubernetes with node-managed JDKs

https://github.com/microsoft/brewlet
3•brunoborges•9h ago•0 comments

Show HN: Procinsh – A 3D Linux process inspector

https://github.com/akawashiro/procinsh
58•a_kawashiro•1d ago•25 comments

Show HN: Letterkin – Make every letter count

https://letterkin.io/
2•onion92•9h ago•0 comments

Show HN: NanoMuse – An open-source AI agent for your phone and computer

https://github.com/nano-muse/nanoMuse
62•ilreb•2d ago•22 comments

Show HN: Accountability.md – a skill that holds agents accountable for actions

https://github.com/kenm47/agent_accountability/blob/main/accountability.md
2•hank2000•10h ago•0 comments