gsh_uk_id = gsh_uk_id.withColumn("id", f.when(1, gsh_uk_id["id"].replace(".","??")).otherwise(gsh_uk_id["id"]))
it is showing error: 'Column' object is not callable
i want to replace "." character in each entry of column "id" of table gsh_uk_id with "??".
Please help me with that thankyou.