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•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.
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.
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.

Show HN: Freenet, a peer-to-peer platform for decentralized apps

https://freenet.org/
88•sanity•6h ago•23 comments

Show HN: Agent.email – sign up via curl, claim with a human OTP

27•adisingh13•4h ago•24 comments

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

195•bojta-lepenye•8h ago•36 comments

Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK

https://github.com/helvesec/rmux
158•shideneyu•11h ago•79 comments

Show HN: I Made a Claude Skill for Spec-Driven Development (SDD)

https://github.com/FredAntB/Spec-Driven-Development
4•NTRIXLM•8h ago•0 comments

Show HN: Open-source .docx editor library for building document apps

https://github.com/eigenpal/docx-editor
3•thisisjedr•39m ago•0 comments

Show HN: I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
398•kageroumado•21h ago•95 comments

Show HN: Anyone interested in a tool helps to explore C++ ASTs

https://uvic-aurora.github.io/acav-manual/index.html
3•leomicv•1h ago•0 comments

Show HN: Headroom – Loudness normalizer and Key+BPM playlist sorter for DJs

https://headroom.ravers.workers.dev/
2•jphfa•1h ago•0 comments

Show HN: I made a tactical map-based WWII submarine simulator (public beta)

https://silentshark.app/alpha/
106•epaga•3d ago•37 comments

Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos

https://github.com/kouhxp/yapsnap
87•mrkn1•23h ago•42 comments

Show HN: The Hanging Sculptures of the Xiaoxitian

https://funes.world/apps/the-hanging-sculptures-of-the-xiaoxitian
24•hanyangwang•2d ago•7 comments

Show HN: Let agents run any analysis with Mixpanel data, no UI required

https://docs.mixpanel.com/docs/mixpanel-headless
20•ttchen2•5h ago•1 comments

Show HN: Six legendary marketers walk into a workflow

https://github.com/conductor-oss/awesome-skills/tree/main/gtm-mavericks
3•opiniateddev•6h ago•0 comments

Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks

https://github.com/antoinezambelli/forge
667•zambelli•2d ago•242 comments

Show HN: I made a tool for learning scales, chords, and how to combine them

https://projects.alesh.com/intervalkit/
30•aleshh•1d ago•20 comments

Show HN: AI that interviews participants instead of holding another meeting

https://www.noada.app/
7•elliot952•8h ago•2 comments

Show HN: Lance – image/video generation and understanding in one model

https://github.com/bytedance/Lance
62•cleardusk•1d ago•15 comments

Show HN: Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
524•danybittel•2d ago•196 comments

Show HN: Superlog (YC P26) – Observability that installs itself and fixes bugs

https://superlog.sh/
71•Magnanten•2d ago•46 comments

Show HN: Physics AI – Visualizing physics problems with step-by-step derivations

https://physicsai.chat
2•vansbree•9h ago•1 comments

Show HN: Dari-docs – Optimize your docs using parallel coding agents

https://github.com/mupt-ai/dari-docs
22•byhong03•1d ago•7 comments

Show HN: Number Gacha, a gacha game distilled to its essence

https://isabisabel.com/gacha/
258•babel16•1w ago•142 comments

Show HN: PocketWebTools – Private AI tools that run in the browser

https://pocketweb.tools/
3•shafkathullah•9h ago•2 comments

Show HN: ChangeSpec is an open specification for software change communication

https://github.com/changespec/spec
2•cdnsteve•9h ago•0 comments

Show HN: Files.md – Open-source alternative to Obsidian

https://github.com/zakirullin/files.md
712•zakirullin•3d ago•349 comments

Show HN: I made a 3D pose maker for artists

https://setpose.com/
87•augustvdv•2d ago•33 comments

Show HN: Handsets – A high-performance Android control CLI, built for agents

https://github.com/elliotgao2/handsets
3•gaojiuli•13h ago•0 comments

Show HN: Haystack – Review the PRs that need human attention

https://haystackeditor.com/
45•akshaysg•3d ago•17 comments

Show HN: InsForge – Open-source Heroku for coding agents

https://github.com/InsForge/InsForge
61•mrcoldbrew•3d ago•7 comments