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: I built a frontpage for personal blogs

https://text.blogosphere.app/
105•ramkarthikk•1h ago•37 comments

Show HN: Apfel – The free AI already on your Mac

https://apfel.franzai.com
346•franze•4h ago•71 comments

Show HN: ctx – an Agentic Development Environment (ADE)

https://ctx.rs
3•luca-ctx•18m ago•1 comments

Show HN: OpenCode Pollinations Plugin –AI & tool layer with freetier control

https://github.com/fkom13/opencode-pollinations-plugin
2•ericnolo•32m ago•0 comments

Show HN: Figma 3D Tilt, Like "Firefox Tilt" but for Figma

https://www.figma.com/community/plugin/1592501914078287014/figma-3d-tilt
3•say2015•1h ago•0 comments

Show HN: Home Maker: Declare Your Dev Tools in a Makefile

https://thottingal.in/blog/2026/03/29/home-maker/
78•sthottingal•5d ago•46 comments

Show HN: Sleek – analytics tool with AI chat, public link and realtime tracking

2•nazbasho•17m ago•0 comments

Show HN: Made a little Artemis II tracker

https://artemis-ii-tracker.com/
124•codingmoh•14h ago•49 comments

Show HN: Koriander – Recipe manager that parses ingredients and tracks nutrition

https://koriander.app
2•laleshii•2h ago•2 comments

Show HN: Minimal Brain Teaser Web Game (Handcrafted, No AI)

https://mehuleo.github.io/encircle/
12•arttaboi•10h ago•6 comments

Show HN: A P2P messenger with dual network modes (Fast and Tor)

https://github.com/Realman78/Kiyeovo/
34•Realman78•22h ago•21 comments

Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries

https://github.com/razvandimescu/numa
102•rdme•1d ago•62 comments

Show HN: Dull – Instagram Without Reels, YouTube Without Shorts (iOS)

https://getdull.app
144•kasparnoor•1d ago•111 comments

Show HN: SyNumpy – a Header only C++17 library for working with NumPy Arrays

https://github.com/symisc/sy-numpy-cpp
18•symisc_devel•19h ago•3 comments

Show HN: I tested 15 free AI models at building real software on a $25/year VPS

https://georgelarson.me/writing/2026-04-03-25-dollar-ai-lab/
27•j0rg3•20h ago•4 comments

Show HN: Wazear – A visual AI orchestrator where agents review each other

2•Vallar•6h ago•0 comments

Show HN: LLMnesia – search across ChatGPT, Claude, Gemini chats locally

https://chromewebstore.google.com/detail/llmnesia/leekfgbdojiaabifbjbbgiiclannjdkf
6•keiranflynn•3h ago•2 comments

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

https://github.com/yannick-cw/korb
199•wazHFsRy•4d ago•83 comments

Show HN: I thought merging two photos with AI would be a weekend project. Nope

https://animateoldphotos.org/add-loved-one-to-photo
5•imgdesgen•7h ago•1 comments

Show HN: A Minimal Basic Inspired by Brainfuck

https://coe.psu.ac.th/ad/minBASIC/
6•ADavison2560•13h ago•0 comments

Show HN: Git bayesect – Bayesian Git bisection for non-deterministic bugs

https://github.com/hauntsaninja/git_bayesect
333•hauntsaninja•5d ago•44 comments

Show HN: Postgres extension for BM25 relevance-ranked full-text search

https://github.com/timescale/pg_textsearch
199•tjgreen•2d ago•57 comments

Show HN: Zerobox – Sandbox any command with file, network, credential controls

https://github.com/afshinm/zerobox
138•afshinmeh•3d ago•92 comments

Show HN: Forkrun – NUMA-aware shell parallelizer (50×–400× faster than parallel)

https://github.com/jkool702/forkrun
149•jkool702•1w ago•41 comments

Show HN: 1-Bit Bonsai, the First Commercially Viable 1-Bit LLMs

https://prismml.com/
418•PrismML•2d ago•152 comments

Show HN: Flight-Viz – 10K flights on a 3D globe in 3.5MB of Rust+WASM

https://flight-viz.com
84•coolwulf•1d ago•45 comments

Show HN: Claude Code rewritten as a bash script

https://github.com/jdcodes1/claude-sh
52•rpst•2d ago•17 comments

Show HN: Mac-hardware toys, control your Mac's hardware like a modular synth

https://github.com/pirate/mac-hardware-toys
4•nikisweeting•20h ago•1 comments

Show HN: SkiFlee (an HTML5 game)

https://easel.games/@raysplaceinspace/skiflee
6•BSTRhino•14h ago•7 comments

Show HN: Abject: the first self-aware object runtime

https://blog.mempko.com/an-abject-horror/
9•mempko•1d ago•2 comments