15.12.7 Union of PGX Frames
You can join two PgxFrames
that have compatible columns (i.e. same type and order).
Creating a Union of PgxFrames Using
JShell
opg4j> <first-frame>.union(<secondframe>).print();
Creating a Union of PgxFrames Using Java
<first-frame>.union(<secondframe>).print();
The rows of the resulting PgxFrame
are the union of the rows from the two original frames.
Note:
The union operation will not remove duplicate rows that resulted from theunion
operation.
Parent topic: PgxFrames Tabular Data-Structure