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: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu
15•petabyt•1h ago•2 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
402•eiiot•10h ago•121 comments

Show HN: Archive95, an independent archive of the early web

https://archive95.net/
92•WumboSpasm•9h ago•12 comments

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

https://github.com/Zabaca/peat
66•uptownhr•7h ago•12 comments

Show HN: Interactive model benchmarks from routing real development work

https://oreshkin-model-atlas.cybertest.workers.dev/
5•vedmed•2h ago•0 comments

Show HN: Appstore for your AI (that also checks for malware)

https://calyban.com/
2•calyban•54m ago•1 comments

Show HN: Venndetta, daily Venn diagram puzzles about real-world data

https://trost.co/venndetta/
45•matthewtoast•8h ago•20 comments

Show HN: Pippin – Message your agents from any device

https://pippin.chat
39•cwbuilds•12h ago•22 comments

Show HN: Wwwet – web based webauthn and SSH and et client

https://github.com/blmarket/wwwet
3•blmarket•2h ago•0 comments

Show HN: Luciole Mono – terminal font designed for legibility

https://scriptor-pro.github.io/luciole-mono/
167•BaudouinVH•17h ago•66 comments

Show HN: WebBrain – Open-source browser agent for local LLMs (Ollama, llama.cpp)

https://github.com/webbrain-one/webbrain
23•webbrain-one•3h ago•13 comments

Show HN: Lean for Engineering

https://www.physicsbase.ai/
5•whitetiger01•4h ago•9 comments

Show HN: Softfpu – a software x87 FPU in Rust, verified against Intel hardware

https://github.com/robertothais/softfpu
3•robertothais•4h ago•0 comments

Show HN: Analysis of Hacker News predictions since 2008

https://hnpredictions.com/
114•mv4•4d ago•100 comments

Show HN: DragDropMath – Learn math by feel

https://dragdropmath.com/
171•ziofill•1d ago•48 comments

Show HN: Compunity – Local LLM with Monitoring

https://compunity.ai/
2•MasihMinawal•5h ago•0 comments

Show HN: Fleetlayer – Framework for running many AI agents on multiple machines

https://fleetlayer.ai/
32•nathan_f77•21h ago•21 comments

Show HN: bouncemarket – a live prediction market game for a bouncing ball

https://bouncemarket.minhanhday.com/
423•mday404•1d ago•146 comments

Show HN: GameFound – a catalogue of 375k games on Blazor Server and one VPS

https://game-found.com/
2•game-found•6h ago•0 comments

Show HN: Receiving End Game that tries to simulate what singularity feels like

https://reg.dendroids.com
2•dendroids•6h ago•0 comments

Show HN: I restored Palm's last device, and brought its OS to other platforms

https://www.webosarchive.org/pivot/2026/11/27/the-story-so-far/
87•codepoet80•1d ago•30 comments

Show HN: A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

https://tesseracted.com/experiments-llm-os/
37•kkm•1d ago•13 comments

Show HN: A daily game where four LLMs try to predict your answer

https://enduser.fun/
4•retrolover83•8h ago•1 comments

Show HN: I spent $715 on Fable 5.2 tokens to make this painting from code

https://elliotbonneville.com/a-715-painting/
29•elliotbnvl•10h ago•30 comments

Show HN: Daily open job postings for 925 US stocks, from their own career sites

https://glitchbound-jobs.pages.dev/hiring-trends/
4•glitchbound•8h ago•0 comments

Show HN: Atlas, an open-source financial research terminal

https://github.com/Satwik-P28/Atlas
3•satwikped_28•9h ago•0 comments

Show HN: Getting 101 tok/s from Inkling 2 Mini in vLLM on one GB10

https://runtimenotes.com/blog/getting-101-tok-s-from-inkling-2-mini-in-vllm-on-one-gb10/
63•runtimenotes•1d ago•15 comments

Show HN: King – Man + Woman = ?

https://kingminusman.com/
44•Gooblebrai•1d ago•18 comments

Show HN: Synth Patch Hero

https://swarkentin.github.io/synth-patch-hero/
151•kaidon•5d ago•31 comments

Show HN: Three Linux VMs in a browser tab, each running a different browser

https://michidk.github.io/sidebyside/
153•michidk•2d ago•34 comments