Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java

https://news.ycombinator.com/rss Hits: 9
Summary

Fahmatrix Fahmatrix is a lightweight, modern Java library for working with tabular data, inspired by Python's Pandas and rooted in the idea of making data understanding (fahm) easy on the JVM. πŸš€ Intuitive API for tabular data πŸ“„ Easy CSV reading and previewing πŸ” Row filtering and column selection πŸ“Š Aggregations, grouping, and sorting (coming soon) 🧩 No external dependencies (for now) πŸ”§ Installation πŸ“¦ Using GitHub Releases Visit Releases and download the latest JAR file. Include it manually in your project’s classpath or use Maven/Gradle if you're pulling from GitHub Packages (to be added in future versions). If you're building locally: git clone https://github.com/moustafa-nasr/fahmatrix.git cd fahmatrix ./gradlew build πŸ“š Example Usage import com . fahmatrix . DataFrame ; public class Main { public static void main ( String [] args ) { DataFrame df = DataFrame . readCSV ( "data.csv" ); df . print (); } } πŸ“œ Docs You can find compiled Java Docs over here ✨ Features Load CSV files into DataFrame Pretty-print data to console View top rows with head() or bottom ones with tail() or bottom ones with Aggregations (count, min, max, sum, mean ,median, standard deviation, 25%, 50%, 70%, custom percentage) Coming Soon: Filter rows and select columns GroupBy and pivot tables Data export to CSV or JSON Type inference and conversion πŸ’‘ Why Fahmatrix? Java has lacked a clean, expressive DataFrame API β€” until now. Fahmatrix brings data clarity (fahm) and structured thinking (matrix) together to give Java developers the tools they need to work with tabular data effectively, without leaving the JVM. πŸ™Œ Support This Project If you find Fahmatrix useful, consider sponsoring me to help support ongoing development, documentation, and future features. πŸ“ License MIT License. Use it freely in your projects.

First seen: 2025-05-17 04:46

Last seen: 2025-05-17 13:47