snowflake.snowpark.DataFrame.union¶
- DataFrame.union(other: DataFrame) DataFrame[source]¶
Returns a new DataFrame that contains all the rows in the current DataFrame and another DataFrame (
other), excluding any duplicate rows. Both input DataFrames must contain the same number of columns.- Example::
- Parameters:
other – the other
DataFramethat contains the rows to include.