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 fixed FFmpeg's subtitle conversion (the bug from 2014)

https://connollydavid.github.io/pgs-release/
5•slartibardfast0•3d ago•1 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
105•FormerLabFred•15h ago•51 comments

Show HN: Korru, Web App Catalog

https://korru.app
2•anwar_nairi•2h ago•0 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
47•redgridtactical•15h ago•16 comments

Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost

https://github.com/RasKrebs/sonar
156•raskrebs•1d ago•75 comments

Show HN: Baltic shadow fleet tracker – live AIS, cable proximity alerts

https://github.com/FormerLab/shadow-fleet-tracker-light
51•FormerLabFred•16h ago•15 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
539•rohan_joshi•1d ago•178 comments

Show HN: Duplicate 3 layers in a 24B LLM, logical deduction .22→.76. No training

https://github.com/alainnothere/llm-circuit-finder
254•xlayn•2d ago•82 comments

Show HN: I made an email app inspired by Arc browser

https://demo.define.app
62•johndamaia•19h ago•46 comments

Show HN: FPGA soft-core of the Saab Viggen's 1963 airborne computer

https://github.com/FormerLab/ck37-core
20•FormerLabFred•1d ago•7 comments

Show HN: Rover – turn any web interface into an AI agent with one script tag

https://github.com/rtrvr-ai/rover
8•quarkcarbon279•12h ago•3 comments

Show HN: Agent-password – a local macOS password manager for agent workflows

https://github.com/tartavull/agent-password
4•tartavull•9h ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
5•nickakre•12h ago•1 comments

Show HN: A personal CRM for events, meetups, IRL

https://payo.tech/
4•Raj7k•18h ago•1 comments

Show HN: I built 48 lightweight SVG backgrounds you can copy/paste

https://www.svgbackgrounds.com/set/free-svg-backgrounds-and-patterns/
392•visiwig•2d ago•67 comments

Show HN: Playing LongTurn FreeCiv with Friends

https://github.com/ndroo/freeciv.andrewmcgrath.info
86•verelo•2d ago•41 comments

Show HN: I built a P2P network where AI agents publish formally verified science

44•FranciscoAngulo•1d ago•9 comments

Show HN: Agent Use Interface (AUI) – let users bring their own AI agent

https://github.com/FRE-Studios/Agent-Use-Interface
6•FernandoDev•15h ago•2 comments

Show HN: Pgit – A Git-like CLI backed by PostgreSQL

https://oseifert.ch/blog/building-pgit
125•ImGajeed76•4d ago•61 comments

Show HN: Will my flight have Starlink?

275•bblcla•2d ago•361 comments

Show HN: Vibefolio – a place to showcase your vibecoded projects

https://vibefolio.link/
8•Gooblebrai•16h ago•7 comments

Show HN: Tmux-IDE, OSS agent-first terminal IDE

https://tmux.thijsverreck.com
86•thijsverreck•2d ago•37 comments

Show HN: Crust – A CLI framework for TypeScript and Bun

https://github.com/chenxin-yan/crust
91•jellyotsiro•4d ago•41 comments

Show HN: Tiny pixel characters for Cursor AI agents

https://github.com/wunderlabs-dev/cursouls
13•balajmarius•1d ago•6 comments

Show HN: Sub-millisecond VM sandboxes using CoW memory forking

https://github.com/adammiribyan/zeroboot
308•adammiribyan•3d ago•72 comments

Show HN: BamBuddy – a self-hosted print archive for Bambu Lab 3D printers

https://bambuddy.cool
9•maziggy•1d ago•0 comments

Show HN: EvalsHub: Your AI is failing in production and you don't know it

https://www.evalshub.ai
4•neilsharma425•19h ago•1 comments

Show HN: MLForge – A no-code, node-based ML trainer

https://github.com/zaina-ml/ml_forge
3•zaina-ml•19h ago•1 comments

Show HN: Fossilware – a community archive of retro hardware, software, and games

https://www.fossilware.tech/
5•tzual•20h ago•2 comments

Show HN: Horizon – GPU-accelerated infinite-canvas terminal in Rust

https://github.com/peters/horizon
81•petersunde•3d ago•32 comments