def __init__(self, events): # Create the root of the dataframe DataFrame.__init__(self) self.event_source = events
def __init__(self, df: Optional[DataFrame], compound: Optional[op_base] = None) -> None: DataFrame.__init__(self, expr=ast_DataFrame(df)) self._ref: op_base = compound if compound is not None else op_vec(self)
def __init__(self, df: DataFrame): DataFrame.__init__(self, expr=ast_DataFrame(df)) self.__p = df
def __init__(self, df: DataFrame, compound: Optional[op_base] = None) -> None: DataFrame.__init__(self, ast_DataFrame(df)) self._base_df = df self._ref: op_base = compound if compound is not None else op_vec(df)