Union

Sums two input DataFrames together into a single DataFrame. This means that each row from each of the input DataFrames will end up in the resulting DataFrame.

There will be no deduplication effort, meaning that if there are two identical rows in the input DataFrames, both of them will be added to the output DataFrame.

The schemas of both input DataFrames have to be the same.

The order of rows from input DataFrames is not guaranteed to be preserved in the output DataFrame.

If schemas of the input DataFrames do not match, a SchemaMismatchException will be thrown.

Since: Seahorse 0.4.0

Input

Port Data Type Description
0 DataFrame The first DataFrame.
1 DataFrame The second DataFrame.

Output

Port Data Type Description
0 DataFrame Union of the input DataFrames.

Example

Input

Input 0

city beds price
CityB 3.0 430784.0
CityB 2.0 336677.0
CityA 3.0 584639.0
CityA 4.0 579560.0

Input 1

city beds price
CityA 4.0 695611.0
CityC 2.0 294691.0

Output

city beds price
CityB 3.0 430784.0
CityB 2.0 336677.0
CityA 3.0 584639.0
CityA 4.0 579560.0
CityA 4.0 695611.0
CityC 2.0 294691.0