79138692

Date: 2024-10-29 19:37:56
Score: 0.5
Natty:
Report link

Use this code to use different column names after using df.join, you can't have two columns with the same name.

result_df = joined_df.select(
    "b",
    F.col("a").alias("a_x"),
    F.col("a").alias("a_y")
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Epidermis