issue in changing the dataframe schema from int to double : I have a dataframe label and i want to change the schema of the dataframe from integer to double

The schema of the data frame is

`label.printSchema`

`root
 |-- value: integer (nullable = false)`

the command I am using is

`label = label.withColumn('value', label.value.cast('double'))`

the error i am receiving is:

`error: unclosed character literal`

