pyspark.sql.DataFrame.unionAll#
- DataFrame.unionAll(other)[source]#
- Return a new - DataFramecontaining the union of rows in this and another- DataFrame.- New in version 1.3.0. - Changed in version 3.4.0: Supports Spark Connect. - Parameters
- Returns
 - See also - Notes - This method combines all rows from both DataFrame objects with no automatic deduplication of elements. - Use the distinct() method to perform deduplication of rows. - unionAll()is an alias to- union()