-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make_spark_converter RuntimeError: Vector columns are only supported in pyspark>=3.0 #769
Comments
Would be easier to address if you could post a runnable code snippet. Would you be able to post such snippet? |
|
Don't have enough spark knowledge to give an accurate answer. Perhaps @WeichenXu123 can weigh in? |
https://spark.apache.org/docs/3.1.3/api/python/reference/api/pyspark.ml.functions.vector_to_array.html |
I convert pyspark dataframe to two columns: one for feature column, it's a dense vector, and another is a label column. When I transform to tensorflow dataset using
make_spark_converter
, it raised an error:Does it not support pyspark < 3.0? But in the
setup.py
file I see it required 'pyspark>=2.1.0'. How to salve this problem?The text was updated successfully, but these errors were encountered: