cankao :https://blog.csdn.net/weixin_44112790/article/details/95387314
git doc:
然后是DataFrame的手册,可以在里面查找更多的方法,其实都和pandas的差不多。
http://cardillo.github.io/joinery/v1.9/api/reference/joinery/DataFrame.html
接着是GitHub地址,有兴趣的可以研究研究源码
https://github.com/cardillo/joinery
依赖:
joinery
joinery-dataframe
1.9
如果需要处理csv的话,还得添加一个依赖:
org.apache.poi
poi
3.17
简单使用:
@Testpublic voidtestDataFrame()
{//创建
DataFrame df = new DataFrame<>("name", "value");//添加数据
df.append(Arrays.asList("xiaoming", 1));
df.append(Arrays.asList("lily", 2));
df.append(Arrays.asList("tom", 3));
df.append(Arrays.asList("sea", 3));
List col = df.col("name");
System.err.println(col);
Syst