コード例 #1
0
ファイル: analyzers.py プロジェクト: sourcery-ai-bot/pydeequ3
 def onData(self, df):
     """
     Starting point to construct an AnalysisRun.
     :param dataFrame df: tabular data on which the checks should be verified
     :return: new AnalysisRunBuilder object
     """
     df = ensure_pyspark_df(self._spark_session, df)
     return AnalysisRunBuilder(self._spark_session, df)
コード例 #2
0
 def onData(self, df):
     """
     Starting point to construct a VerificationRun.
     :param data:  Tabular data on which the checks should be verified
     :return: The starting point to construct a verificationRun
     """
     df = ensure_pyspark_df(self._spark_session, df)
     return VerificationRunBuilder(self._spark_session, df)
コード例 #3
0
ファイル: profiles.py プロジェクト: awslabs/python-deequ
    def onData(self, df):
        """
        Starting point to construct a profile

        :param df: Tabular data on which the profiles module will use
        :return: The starting point to construct a profile
        """
        df = ensure_pyspark_df(self._spark_session, df)
        return ColumnProfilerRunBuilder(self._spark_session, df)
コード例 #4
0
    def onData(self, df):
        """
        Starting point to construct suggestions

        :param df: Tabular data on which the suggestions module use
        :return: The starting point to construct a suggestions module
        """
        df = ensure_pyspark_df(self._spark_session, df)
        return ConstraintSuggestionRunBuilder(self._spark_session, df)