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: Marky – A lightweight Markdown viewer for agentic coding

https://github.com/GRVYDEV/marky
21•GRVYDEV•6h ago•5 comments

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
66•agentseal•3d ago•13 comments

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
105•hammer32•9h ago•30 comments

Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years

https://www.perplexity.ai/computer/a/us-olympiad-tracker-__5Gzx3tQaKOInGlalN8sQ
2•bkls•1h ago•0 comments

Show HN: Home Memory – A local DB of my house, down to cables and pipes

https://github.com/impactjo/home-memory
25•impactjo•9h ago•6 comments

Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis

13•kaliades•10h ago•3 comments

Show HN: Ilha – a UI library that fits in an AI context window

https://ilha.build/
19•ryuzyy•10h ago•9 comments

Show HN: SmallDocs - Markdown without the frustrations

33•FailMore•1d ago•16 comments

Show HN: Online Sound Decibel Meter

https://soundmeterx.com/
3•artiomyak•4h ago•2 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
34•ozarkerD•20h ago•6 comments

Show HN: Stage – Putting humans back in control of code review

https://stagereview.app/
8•cpan22•5h ago•6 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
123•muchael•1d ago•52 comments

Show HN: German Abitur: More good grades, fewer bad grades

https://camminady.dev/abiturnoten/
5•k1next•11h ago•2 comments

Show HN: Arrow. Point your phone, walk where it says, find out where

https://kouh.me/arrow
2•kouhxp•6h ago•2 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
32•mackbrowne•21h ago•8 comments

Show HN: I built a music theory course with games and spaced repetition

https://www.gitori.com/themes/music-theory?showTheoryTour=true
4•udit99•7h ago•5 comments

Show HN: A tool to calculate LLM model API costs when coding

https://the-designengineer.com/model-cost-estimator/
4•canxerian•8h ago•1 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
16•kodjima33•1d ago•12 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
182•porsche959•1d ago•64 comments

Show HN: EDDI – Multi-agent AI engine where agent logic lives in JSON, not code

https://github.com/labsai/EDDI
2•ginccc•8h ago•0 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
32•lucas_vieira•1d ago•9 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
11•Beefin•21h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•2d ago•53 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
93•focom•2d ago•51 comments

Show HN: Silverfish IDP – a low cost, language‑first Internal Developer Portal"

https://dashboard.silverfishsoftware.com/
4•davidarno•11h ago•0 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
8•brikym•22h ago•6 comments

Show HN: P2 - Object Storage Server with S3 Compatible API, MIT License

https://github.com/Suleman-Elahi/p2
3•isuleman•11h ago•0 comments

Show HN: I'm building Eigen, a self-hosted Google Workspace alternative

https://reindernijhoff.net/2026/04/eigen-six-months-later/
2•reindernijhoff•11h ago•1 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•3d ago•45 comments

Show HN: Open Finance Insurance sandbox (OAuth2, quotes → policies)

https://github.com/Rp12/uae-openfinance-test-backend
3•Renjit•13h ago•0 comments