Module tripleblind.report_result
Classes
class ReportResult (uuid: UUID)-
Points to a dataset or an algorithm indexed on the TripleBlind Router.
Ancestors
Static methods
def cast(asset: Asset) -> ReportResult-
Convert a generic Asset into a TableAsset
This should only be used on data known to be tabular, no validation occurs during the cast.
Args
asset:Asset- A generic Asset
Returns
ReportResult- The result asset of running a BlindReport.
Instance variables
var dataframe : pd.DataFrame-
The content of the asset loaded as a Pandas dataframe
Returns
pd.DataFrame- The asset data
var excluded_members : list-
List of federation member names excluded from this report due to timeout or failure. An empty list means all members contributed.
Populated after calling load() or accessing the dataframe property.
Returns
list[str]- Member domain names that were excluded, e.g. ['data']
var raw_content : str-
The content of the asset loaded as a string
Returns
str- The content
Methods
def load(self, sep: Optional[str] = None, col_names: Optional[List[str]] = None, header: Optional[bool] = True) -> pandas.core.frame.DataFrame-
Retrieve and load the asset into a Pandas dataframe
Args
sep:str, optional- Character separating values. Default is comma.
col_names:[str], optional- List of column names. Default is no names.
header:bool, optional- Read first line as a header? Default is True.
def render_manifest(self)
Inherited members