Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
pyspark convert float results to integer replace
Mayjio
Programming language:
Python
2021-06-16 22:19:20
0
Q:
pyspark convert float results to integer replace
BattleTested
Code:
Python
2021-05-26 06:11:12
data_df = data_df.withColumn("Plays", data_df["Plays"].cast(IntegerType()))
1
Tags
int
replace
con
result
Related
cast as float python
convert a pandas column to int
python return something as a float
python string list to float
convert all values in array into float
convert float to integer pandas
pandas dataframe convert string to float
how to convert a pandas series from int to float in python
how convert float to int in python
string to float python
int to float python
python cast to float
convert string to float python
New to Communities?
Join the community