itholic opened a new pull request #33882: URL: https://github.com/apache/spark/pull/33882
### What changes were proposed in this pull request? This PR proposes to support `errors` argument for `ps.to_numeric` such as pandas does. <img width="429" alt="Screen Shot 2021-09-01 at 11 12 44 AM" src="https://user-images.githubusercontent.com/44108233/131600510-d846f8a1-e140-4ec3-a7b3-67ffe11b66f1.png"> ### Why are the changes needed? We should match the behavior to pandas' as much as possible. Also in the [recent blog post](https://medium.com/@chuck.connell.3/pandas-on-databricks-via-koalas-a-review-9876b0a92541), the author pointed out we're missing this feature. Seems like it's the kind of feature that commonly used in data science. ### Does this PR introduce _any_ user-facing change? Now the `errors` argument is available for `ps.to_numeric`. ### How was this patch tested? Unittests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
