cardillo / joinery

Data frames for Java
https://joinery.sh
GNU General Public License v3.0
700 stars 166 forks source link

Does it suport "read_sql" function like pandas? #69

Closed Jungle666 closed 6 years ago

Jungle666 commented 6 years ago

It could be Better after that.

cardillo commented 6 years ago

Agree this would be a useful feature, I’ll gladly review a pull request or take a look at adding it myself.

Jungle666 commented 6 years ago

thanks for you answers, another question is ,Is there a easy way to convert “list< bean >” to a dataframe?

cardillo commented 6 years ago

No, but you can probably look at something like BeanUtils to copy from the bean into a row which you can append to a data frame.

cardillo commented 6 years ago

As of v1.9 -- see https://cardillo.github.io/joinery/v1.9/api/reference/joinery/DataFrame.html#readSql(java.sql.Connection,%20java.lang.String) for details.