diff --git a/python/pyspark/ml/feature.py b/python/pyspark/ml/feature.py index 839386b3a4c16..32e90496de300 100755 --- a/python/pyspark/ml/feature.py +++ b/python/pyspark/ml/feature.py @@ -1714,6 +1714,20 @@ def setOutputCols(self, value): """ return self._set(outputCols=value) + @since("3.0.0") + def setInputCol(self, value): + """ + Sets the value of :py:attr:`inputCol`. + """ + return self._set(inputCol=value) + + @since("3.0.0") + def setOutputCol(self, value): + """ + Sets the value of :py:attr:`outputCol`. + """ + return self._set(outputCol=value) + @property @since("2.2.0") def surrogateDF(self):