Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 07:27 AM
it is a pyspark.sqldataframe.dataframe
to convert to pandas I have tried with
df.to_pandas_on_spark()
df.toPandas()
and
import pyspark.pandas as ps
ps.DataFrame(df)
all of them same result with everything becoming an object.
but at the same time why also after i convert the columns into float I get the error that can't convert string to float