0

I am working on a machine learning model using Pyspark. during categorical values handling using regexp_replace I got this error... is it a version problem??

1 Answer 1

1

According to the regexp_replace's docs, the last parameter should be a string as well, but you're passing an integer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.