We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d464494 commit 049167cCopy full SHA for 049167c
12-MiscDemo/MiscDemo.py
@@ -32,6 +32,7 @@
32
.withColumn("dob", expr("to_date(concat(day,'/',month,'/',year), 'd/M/y')")) \
33
.drop("day", "month", "year") \
34
.dropDuplicates(["name", "dob"]) \
35
- .sort(expr("dob desc"))
+ # .sort(expr("dob desc")) This doesn't seem to be working
36
+ .sort(col("dob").desc())
37
38
final_df.show()
0 commit comments