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: A plain-text cognitive architecture for Claude Code

https://lab.puga.com.br/cog/
86•marciopuga•8h ago•25 comments

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

https://github.com/jonwiggins/optio
47•jawiggins•15h ago•28 comments

Show HN: Robust LLM Extractor for Websites in TypeScript

https://github.com/lightfeed/extractor
33•andrew_zhong•4h ago•20 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
624•Heff•1d ago•137 comments

Show HN: Yoink – Spotify to lossless with full metadata, self-hostable, ad-free

https://yoinkify.com
32•chasefrazier•12h ago•19 comments

Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1

https://github.com/cigrainger/duckdb-hnsw-acorn
87•cigrainger•1d ago•6 comments

Show HN: Pgsemantic – Point at your Postgres DB, get vector search instantly

https://github.com/varmabudharaju/pgsemantic
11•varmabudharaju•13h ago•0 comments

Show HN: AI Roundtable – Let 200 models debate your question

https://opper.ai/ai-roundtable/
101•felix089•1d ago•81 comments

Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build

https://github.com/AmElmo/proofshot
151•jberthom•2d ago•96 comments

Show HN: Automate your workflow in plain English

https://www.operator23.com/
9•Mrakermo•10h ago•3 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
367•dancablam•1d ago•95 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
425•sohamrj•1d ago•102 comments

Show HN: Gridland: make terminal apps that also run in the browser

https://www.gridland.io/
101•rothific•1d ago•13 comments

Show HN: I built a site that maps the web from a bounty hunter's perspective

https://www.neobotnet.com/
44•caffeinedoom•2d ago•7 comments

Show HN: Cq – Stack Overflow for AI coding agents

https://blog.mozilla.ai/cq-stack-overflow-for-agents/
220•peteski22•2d ago•98 comments

Show HN: Jmail Launches Jcal

https://jmail.world/calendar
5•immatheus•9h ago•3 comments

Show HN: I coded Podhoc – Podcast generator to learn on the go

https://podhoc.com
3•davidpelayo•10h ago•0 comments

Show HN: Druids – coordinate and deploy coding agents across machines

https://github.com/fulcrumresearch/druids
8•etherio•10h ago•2 comments

Show HN: Stella Foster – iMessage on Any Phone

https://stellafoster.com/
4•jacobgc•10h ago•0 comments

Show HN: Rick – Open-source AI CEO that autonomously runs your startup

https://meetrick.ai
4•MeetRickAI•10h ago•1 comments

Show HN: GhostDesk – MCP server giving AI agents a full virtual Linux desktop

https://github.com/YV17labs/GhostDesk
4•maltyxxx•11h ago•0 comments

Show HN: Starlink constellation health – 108 reentry anomalies in TLE data

https://zenodo.org/records/19208382
2•mojoatomic•12h ago•0 comments

Show HN: I ran a language model on a PS2

https://github.com/xaskasdf/ps2-llm
43•xaskasdf•4d ago•14 comments

Show HN: E is for ENSHITTIFICATION – An illustrated children's book on big tech

https://www.evanshunt.com/enshittification/
19•ar_turnbull•12h ago•1 comments

Show HN: clickity – mechanical keyboard click sounds when you type on macOS

https://github.com/9cel/type
4•marchelzo•12h ago•0 comments

Show HN: I built a voice AI that responds like a real woman

5•shalomer•13h ago•10 comments

Show HN: The King Wen Permutation: [52, 10, 2]

https://gzw1987-bit.github.io/iching-math/
62•gezhengwen•2d ago•27 comments

Show HN: Τ³-Bench is out – can agents handle complex docs and live calls?

9•victorbarres•14h ago•1 comments

Show HN: I built an integration for RL training of browser agents for everyone

https://github.com/PrimeIntellect-ai/verifiers/tree/main/verifiers/envs/integrations/browser_env
6•filtr12•15h ago•1 comments

Show HN: As Notes – A Static Site Generator in Your Markdown Knowledgebase

https://blog.asnotes.io/as-notes-a-static-site-generator-in-your-markdown-knowledgebase
5•gbro3n•15h ago•0 comments