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: Kloak, A secret manager that keeps K8s workload away from secrets

https://getkloak.io/
35•neo2006•5h ago•35 comments

Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

https://github.com/nex-crm/wuphf
221•najmuzzaman•15h ago•103 comments

Show HN: Talisman – A Android instrument played with two thumbs

https://talisman.by-igor.com/
4•ycosynot•3h ago•2 comments

Show HN: I've built a nice home server OS

https://lightwhale.asklandd.dk/
169•Zta77•1d ago•71 comments

Show HN: Good AI Task – a tool for asking AI what it can and can't do

https://goodaitask.com
6•jmt710•4h ago•1 comments

Show HN: Useknockout open source background removal API 40× cheaper -remove.bg

https://github.com/useknockout/api
3•tlorents•4h ago•0 comments

Show HN: AI Visibility Monitor – Track if your site gets cited by GPT/Claude

https://github.com/WorkSmartAI-alt/ai-visibility-monitor
5•balance006•4h ago•0 comments

Show HN: Mapping Sonnet's thinking process via flame charts

https://adamsohn.com/lambda-variance/
3•dataviz1000•4h ago•0 comments

Show HN: A faster, drop-in replacement for Tailscale's DERP relay

https://hyper-derp.dev/blog/hyper-derp-announcement/
3•KRuskowski•4h ago•2 comments

Show HN: Browser Harness – Gives LLM freedom to complete any browser task

https://github.com/browser-use/browser-harness
117•gregpr07•1d ago•57 comments

Show HN: I benchmarked how good LLMs are at proofreading English

https://github.com/reviseio/errata-bench
3•artursapek•5h ago•2 comments

Show HN: Gova – The declarative GUI framework for Go

https://github.com/NV404/gova
136•aliezsid•1d ago•27 comments

Show HN: Quay – Menu-bar Git sync

https://code.sailorslog.io/quay
3•sailingcode•5h ago•0 comments

Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite

https://github.com/russellromney/honker
300•russellthehippo•2d ago•78 comments

Show HN: SVG Fitter – Rust+WASM Vectorizer

https://svg.axk.sh
3•xlii•7h ago•0 comments

Show HN: Agent Vault – Open-source credential proxy and vault for agents

https://github.com/Infisical/agent-vault
150•dangtony98•3d ago•55 comments

Show HN: 1gbps Tokenizer written in Assembly. 20x faster than HuggingFace

https://github.com/dogmaticdev/SIMD-Tokenizer
3•dogmaticdev•7h ago•1 comments

Show HN: Odozi – open-source iOS journaling app

https://odozi.app
5•jlarks32•8h ago•0 comments

Show HN: Tolaria – Open-source macOS app to manage Markdown knowledge bases

https://github.com/refactoringhq/tolaria
298•lucaronin•2d ago•137 comments

Show HN: Duckville, a persistent-world life SIM where you're a duck

https://duckville.town
3•stfurkan•9h ago•0 comments

Show HN: SherifDB, a databe written in Golang under 500 LOC

https://emmanuel326.github.io/blogs/sheriffdb.html
3•Nya-kundi•9h ago•2 comments

Show HN: Agent MCP Studio – build multi-agent MCP systems in a browser tab

https://www.agentmcp.studio
11•stealthtsdb•17h ago•3 comments

Show HN: WhiskeySour – A 10x faster drop-in replacement for BeautifulSoup

7•ayas_behera•9h ago•1 comments

Show HN: VT Code – Rust TUI coding agent with multi-provider support

https://github.com/vinhnx/VTCode
14•vinhnx•20h ago•2 comments

Show HN: Nimbus – Browser with Claude Code UX

https://usenimbus.app/
17•pycassa•1d ago•3 comments

Show HN: HNswered – watches for replies to your Hacker News posts and comments

https://github.com/adam-s/HNswered
21•dataviz1000•1d ago•24 comments

Show HN: Xtrace – Unix-Style macOS Profiling for Instruments (CPU/GPU/Memory)

https://github.com/Kr1sso/xtrace-skill
2•Krisso•14h ago•0 comments

Show HN: Kaniop – Kubernetes Operator for Kanidm

https://github.com/pando85/kaniop
4•pando85•15h ago•1 comments

Show HN: Broccoli, one shot coding agent on the cloud

https://github.com/besimple-oss/broccoli
81•yzhong94•3d ago•49 comments

Show HN: GoModel – an open-source AI gateway in Go

https://github.com/ENTERPILOT/GOModel/
213•santiago-pl•4d ago•75 comments