Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Add flatten argument to ANOVATest/ChisqTest/FValueTest (#481)
Browse files Browse the repository at this point in the history
Resolves #410
  • Loading branch information
zero323 authored Aug 29, 2020
1 parent 154e14e commit 2bee703
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions third_party/3/pyspark/ml/stat.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ from py4j.java_gateway import JavaObject # type: ignore[import]

class ChiSquareTest:
@staticmethod
def test(dataset: DataFrame, featuresCol: str, labelCol: str) -> DataFrame: ...
def test(
dataset: DataFrame, featuresCol: str, labelCol: str, flatten: bool = ...
) -> DataFrame: ...

class Correlation:
@staticmethod
Expand Down Expand Up @@ -78,8 +80,12 @@ class MultivariateGaussian:

class ANOVATest:
@staticmethod
def test(dataset: DataFrame, featuresCol: str, labelCol: str) -> DataFrame: ...
def test(
dataset: DataFrame, featuresCol: str, labelCol: str, flatten: bool = ...
) -> DataFrame: ...

class FValueTest:
@staticmethod
def test(dataset: DataFrame, featuresCol: str, labelCol: str) -> DataFrame: ...
def test(
dataset: DataFrame, featuresCol: str, labelCol: str, flatten: bool = ...
) -> DataFrame: ...

0 comments on commit 2bee703

Please sign in to comment.