What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-22 16:45:18
combine df columns python
# Joins with another DataFrame df.join(df2, df.name == df2.name, 'outer').select( df.name, df2.height).collect() # [Row(name=None, height=80), Row(name=u'Bob', height=85), Row( # name=u'Alice', height=None)] df.join(df2, 'name', 'outer').select('nam... Add solution