shyam_9
Databricks Employee
Databricks Employee

You can also do this by using selectExpr

df2 = df.selectExpr("CAST (`col1` as string) as `col1`") 

and also one more method as in the below image

0693f000007OrmtAAC