Github user Lewuathe commented on a diff in the pull request:
https://github.com/apache/spark/pull/8313#discussion_r37503332
--- Diff: python/pyspark/ml/feature.py ---
@@ -775,7 +775,7 @@ def mean(self):
@inherit_doc
-class StringIndexer(JavaEstimator, HasInputCol, HasOutputCol):
+class StringIndexer(JavaEstimator, HasInputCol, HasOutputCol,
HasHandleInvalid):
--- End diff --
Some other classes has no shared accessor class (e.g. `StandardScaler`,
`RegexTokenizer`) corresponding to arbitrary properties. It might be better to
keep `handleInvalid` only inside of `StringIndexer` or create other shared
accessor classes for `StandardScaler` etc to standardize the way of accessing
to arbitrary properties.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]