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: Ableton Live MCP

https://github.com/bschoepke/ableton-live-mcp
26•bschoepke•2h ago•9 comments

Show HN: Apple's SHARP running in the browser via ONNX runtime web

https://github.com/bring-shrubbery/ml-sharp-web
140•bring-shrubbery•11h ago•36 comments

Show HN: Tyche: An experimental distributed trading pipeline in Go Java

https://github.com/ItsArnavSh/Tyche
2•itsarnavsh•56m ago•0 comments

Show HN: I built a RISC-V emulator that runs DOOM

https://github.com/lalitshankarch/rvcore
26•Flex247A•8h ago•0 comments

Show HN: Cuqueclicker (Cookieclicker Inspired Game)

https://flipbit03.github.io/cuqueclicker/
3•fb03•1h ago•0 comments

Show HN: Security Scanner for Agent Skills and MCP

https://github.com/snyk/agent-scan
4•lirantal•2h ago•0 comments

Show HN: Software Engineer to Novelist: Writing a Book Like Coding

https://frequal.com/forwriters/
7•TeaVMFan•4h ago•0 comments

Show HN: State of the Art of Coding Models, According to Hacker News Commenters

https://hnup.date/hn-sota
140•yunusabd•23h ago•79 comments

Show HN: GitHub Commits Leaderboard

https://ghcommits.com
2•GustyCube•3h ago•1 comments

Show HN: Pollen – distributed WASM runtime, no control plane, single binary

https://github.com/sambigeara/pollen
127•sambigeara•3d ago•58 comments

Show HN: DAC – open-source dashboard as code tool for agents and humans

https://github.com/bruin-data/dac
106•karakanb•4d ago•33 comments

Show HN: Parrot – a fun, skeuomorphic audio recorder to hear yourself

https://www.zkhrv.com/parrot
5•zkhrv•8h ago•0 comments

Show HN: Hello, World in many different languages

https://languages.jdunn.dev/
5•jdironman•6h ago•6 comments

Show HN: Mljar Studio – local AI data analyst that saves analysis as notebooks

https://mljar.com/
68•pplonski86•1d ago•10 comments

Show HN: Glucera Local-first iPhone glucose app, seeking fingerstick beta tester

https://glucera.app/
2•kv0•8h ago•0 comments

Show HN: Browser-based light pollution simulator using real photometric data

https://iesna.eu/?wasm=skyglow_demo
39•holg•1d ago•13 comments

Show HN: I built my site as a Windows 95 experience (2025)

https://wes.dev/
8•WesSouza•8h ago•9 comments

Show HN: Filling PDF forms with AI using client-side tool calling

https://copilot.simplepdf.com/?share=a7d00ad073c75a75d493228e6ff7b11eb3f2d945b6175913e87898ec96ca...
53•nip•1d ago•25 comments

Show HN: Piruetas – A self-hosted diary app I built for my girlfriend

https://piruet.app
65•patillacode•1d ago•48 comments

Show HN: Flop Map – a 3D globe of every known AI compute cluster

https://flopmap.com
4•kitwebster•8h ago•3 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
548•sleepingNomad•2d ago•165 comments

Show HN: AI CAD Harness

https://fusion.adam.new/install
94•zachdive•2d ago•93 comments

Show HN: Large Scale Article Extract of Newspapers 1730s-1960s

https://snewpapers.com/
50•brettnbutter•1d ago•20 comments

Show HN: Rust library for Undo/Redo using deltas, snapshots or commands

https://github.com/mikwielgus/undoredo
21•mikolajw•1d ago•4 comments

Show HN: Stop playing my matchstick puzzles, start building your own in seconds

https://mathstick.github.io
36•trangram•1d ago•30 comments

Show HN: Site Mogging

https://sitemogging.com
67•jilles•2d ago•75 comments

Show HN: Loopsy, a way for terminals and AI agents on different machines to talk

https://github.com/leox255/loopsy
56•todience•2d ago•12 comments

Show HN: Enoch – Control Plane for Autonomous AI Research

https://github.com/alias8818/enoch-agentic-research-system
4•aliasocracy•12h ago•1 comments

Show HN: Perfect Bluetooth MIDI for Windows

105•mayerwin•2d ago•34 comments

Show HN: Agent-desktop – Native desktop automation CLI for AI agents

https://github.com/lahfir/agent-desktop
95•lahfir•1d ago•35 comments