Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

joinery

> 编程语言
Open source

Data frames for Java

707 stars0 likes0 views
WebsiteGitHub

About

Data frames for Java

joinery

joinery [joi-nuh-ree]

1. In woodworking, the craft of joining together
pieces of wood to produce more complex items.


2. In Java, a data analysis library for joining together
pieces of data to produce insight.

quick start

Remember FizzBuzz (of course you do!), well imagine you have just solved the puzzle (well done!) and you have written the results to a comma-delimited file for further analysis. Now you want to know how many times are the strings Fizz, Buzz, and FizzBuzz printed out.

You could answer this question any number of ways, for example you could modify the original program, or reach for Python/pandas, or even (for the sadistic among us, you know who you are) type out a one-liner at the command prompt (probably including cut, sort, and uniq).

Well, now you have one more option. This option is especially good if you are 1) using Java already and 2) may need to integrate your solution with other Java applications in the future.

You can answer this question with joinery.

java
df.groupBy("value")
  .count()
  .sortBy("-number")
  .head(3)

Printing out the resulting data frame gives us the following table.

  	   value 	number
 0	Fizz    	    27
 1	Buzz    	    14
 2	FizzBuzz	     6

See FizzBuzz.java for the complete code.

next steps

Get the executable jar and try it for yourself.

javascript
$ java -jar joinery-dataframe-1.10-jar-with-dependencies.jar shell
# Joinery -- Data frames for Java, 1.10-deb702e
# OpenJDK 64-Bit Server VM, Oracle Corporation, 1.8.0_92-internal
# Rhino 1.7 release 2 2009 03 22
> df = new DataFrame()
[empty data frame]
> df.add("value")
[empty data frame]
> [10, 20, 30].forEach(function(val) {
      df.append([val])
  })
> df
        value
 0	   10
 1	   20
 2	   30

>

maven

Since version 1.10, joinery is included in the central repo. If you are upgrading from a prior version, note the new group id.

xml

  sh.joinery
  joinery-dataframe
  1.10

utilities

joinery includes some tools to make working with data frames easier. These tools are available by running joinery.DataFrame as an application.

bash
$ java joinery.DataFrame
usage: joinery.DataFrame [compare|plot|show|shell] [csv-file ...]

show

Show displays the tabular data of a data frame in a gui window.

bash
$ java joinery.DataFrame show data.csv

plot

Plot displays the numeric data of a data frame as a chart.

bash
$ java joinery.DataFrame plot data.csv

shell

Launches an interactive JavaScript shell for working with data frames.

…

documentation

The complete api documentation for the DataFrame class is available at https://joinery.sh

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javadata-framedata-framesdataframe-libraryjava

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言