DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pyspark convert float results to integer replace
data_df = data_df.withColumn("Plays", data_df["Plays"].cast(IntegerType()))
PREVIOUS
NEXT
Tagged:
#pyspark
#convert
#float
#results
#integer
#replace
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit