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: MCP Memory – Fast Agent Memory Using Google's OKF and SQLite FTS5

https://github.com/fellowgeek/mcp-memory
49•pcbmaker20•6h ago•31 comments

Show HN: OJCP – an open protocol for agent-consumable job data

https://ojcp.dev/
23•fraywing•1d ago•6 comments

Show HN: DynaFX – Simulation meets knowledge graphs

https://github.com/Achref-Yak/DynaFX
2•ElegantTrader•58m ago•0 comments

Show HN: Bsdkrun – Instant MicroVMs/Unikernels for macOS and Linux

https://github.com/tsirysndr/bsdkrun
2•tsiry•1h ago•0 comments

Show HN: Clixad – Free AI coding agent in the terminal, funded by an offerwall

https://clixad.io/
2•flo_r•1h ago•0 comments

Show HN: MLTraining Free AI/ML training resources for everyone

https://mltraining.org/
2•Cagritemel•1h ago•0 comments

Show HN: Cadre.rocks A local-first board for orchestrating coding agents

https://cadre.rocks/
3•l-crispr•1h ago•1 comments

Show HN: At 16K features, flat autoencoders break. Curved space doesn't

https://github.com/vishal-dehurdle/hypersae
7•visha1v•4h ago•0 comments

Show HN: OxiSH, a modern, memory-safe SSH server

https://dirkjan.ochtman.nl/writing/2026/08/13/announcing-oxish.html
11•dochtman•5h ago•0 comments

Show HN: LymeScribe – one computer on your network transcribes for the rest

https://transcribe.lymestack.com/
3•interapp•2h ago•1 comments

Show HN: TasmoShelf – local-first iOS/Android app for Tasmota devices

https://tasmoshelf.app
3•itsmueller•2h ago•0 comments

Show HN: Tired of hand-writing fake API data, so I built a CLI for it

https://github.com/SukhdevThukral/mockit
2•sukhdevth_•3h ago•0 comments

Show HN: Taurus Agents, my take on multi-agent hierarchies

https://taurusagents.com/
2•sergevar•3h ago•0 comments

Show HN: Sched – On-call rotations for small teams that don't need PagerDuty

https://getsched.dev/
3•arye_lu•3h ago•0 comments

Show HN: Zod schema is a binary codec, no IDL, no codegen

https://github.com/ChiChuRita/shorn
3•chichurita•3h ago•0 comments

Show HN: A Free Cloud Container

https://usebench.dev/
3•saucepoint•3h ago•0 comments

Show HN: My first app got 97% on MacSources

https://bitvibelabs.com/tickernotch/
3•BitVibeLabs•3h ago•0 comments

Show HN: Track habits, metrics, time and whateven you think worth tracking

https://habitpocket.io/
4•bohdanstefaniuk•5h ago•5 comments

Show HN: Deepmark – Search your bookmarks by what's inside them, not the title

https://usedeepmark.com/
3•shafkathullah•3h ago•2 comments

Show HN: My Claude subscription did $5,868 of API-equivalent work last month

https://github.com/dpro10/cookbook-meter
2•dproz•4h ago•1 comments

Show HN: OpenAI network checker using 31 browser and IP signals

https://www.getplus.ai/openai-ip-check
2•lixiaofei•4h ago•0 comments

Show HN: Artificial Analysis tool to create custom benchmarks for any use case

https://artificialanalysis.ai/optima
8•Gcam•4h ago•0 comments

Show HN: A UI to see all the assumptions your coding agents are making

https://github.com/pirate/codex-structured-steering
2•nikisweeting•4h ago•1 comments

Show HN: Virtual Private LLM, fixed fee with no usage or token limits

https://solheim.ai
2•CodingPanda42•4h ago•0 comments

Show HN: Ballet – Workflow automation that writes integrations against any API

https://www.ballet.dev/
33•danielkimber•20h ago•12 comments

Show HN: My Grok Voice Mode System Prompt

3•nomilk•4h ago•0 comments

Show HN: A open-source AI-native coding agent

https://github.com/missingstudio/eva
3•missingstack•4h ago•0 comments

Show HN: Remarc – comment on anything on your screen and send it to your agent

https://remarc.app/
2•young_mete•5h ago•0 comments

Show HN: SGI ElectroPaint screensaver in 3D CSS

https://css.graphics/electropaint/
2•rofko•5h ago•0 comments

Show HN: A Rosetta Stone for UI component libraries

https://www.frontfamily.com/
13•ch-bas•5h ago•2 comments