(self, data_type)
return result
Return the specific static value(s) of the given column

        Parameters
        ----------
        data_type : str, "mean", "variance", "std_variance", "max_value" or "mim_value"
            Specify which type to show.

        Returns
        -------
        return a list of result result. The order is the same as cols.
Return the specific static value(s) of the given column
Return the specific static value ( s ) of the given column
def get_statics(self, data_type):
        """
        Return the specific static value(s) of the given column

        Parameters
        ----------
        data_type : str, "mean", "variance", "std_variance", "max_value" or "mim_value"
            Specify which type to show.

        Returns
        -------
        return a list of result result. The order is the same as cols.
        """
        if not self.finish_fit_statics:
            self._static_sums()

        if hasattr(self.summary_statistics, data_type):
            result_row = getattr(self.summary_statistics, data_type)

        elif hasattr(self, data_type):
            result_row = getattr(self, data_type)
        else:
            raise ValueError(f"Statistic data type: {data_type} cannot be recognized")
        # LOGGER.debug(f"col_index: {self.cols_index}, result_row: {result_row},"
        #              f"header: {self.header}, data_type: {data_type}")

        result = {}

        result_row = result_row.tolist()
        for col_idx, header_idx in enumerate(self.cols_index):
            result[self.header[header_idx]] = result_row[col_idx]
        return result
def get_statics ( self , data_type ) : if not self . finish_fit_statics : self . _static_sums ( ) if hasattr ( self . summary_statistics , data_type ) : result_row = getattr ( self . summary_statistics , data_type ) elif hasattr ( self , data_type ) : result_row = getattr ( self , data_type ) else : raise ValueError ( f"Statistic data type: {data_type} cannot be recognized" ) # LOGGER.debug(f"col_index: {self.cols_index}, result_row: {result_row}," #              f"header: {self.header}, data_type: {data_type}") result = { } result_row = result_row . tolist ( ) for col_idx , header_idx in enumerate ( self . cols_index ) : result [ self . header [ header_idx ] ] = result_row [ col_idx ] return result