PySpark Interview Questions and Answers
Question: How can you perform a union operation on two DataFrames in PySpark?Answer: You can use the 'union' method to combine two DataFrames with the same schema.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: