0

I'm trying to do this and I get a long error:

df=df.withColumn('NewColumnName', someother_df['Time'])

and it doesn't work. also doing this:

df=df.withColumn('NewColumnName', someother_df.select('Time'))

gives me this error: AssertionError: col should be Column

donut_person
  • 25
  • 1
  • 6

0 Answers0