SVP SVP - 1 year ago 73
Java Question

How can I combine(concatenate) two data frames with the same column name in java

Can I append a dataframe to the right of other dataframe having same column names

Answer Source

You can join two dataframes like this.

df1.join(df2, df1.col("column").equalTo(df2("column")));

If you are looking for Union, then you can do something like this.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download