foundry/foundry.py
def collect_dataframes(self, packages=[]):
        """Collect dataframes of local data packages
        Args:
           packages (list): List of packages to collect, defaults to all

        Returns
        -------
            (tuple): Tuple of X(pandas.DataFrame), y(pandas.DataFrame)
        """
        if not packages:
            packages = self.get_packages()
        f = Foundry()

        X_frames = []
        y_frames = []

        for package in packages:
            self = self.load(package)
            X, y = self.load_data()  # TODO: update how this is unpacked, out of date
            X["source"] = package
            y["source"] = package
            X_frames.append(X)
            y_frames.append(y)

        return pd.concat(X_frames), pd.concat(y_frames)
Collect dataframes of local data packages
        Args:
           packages (list): List of packages to collect, defaults to all

        Returns
        -------
            (tuple): Tuple of X(pandas.DataFrame), y(pandas.DataFrame)
        
Collect dataframes of local data packages
Collect dataframes of local data packages
def collect_dataframes(self, packages=[]):
        if not packages:
            packages = self.get_packages()
        f = Foundry()
        X_frames = []
        y_frames = []
        for package in packages:
            self = self.load(package)
            X, y = self.load_data()  
            X["source"] = package
            y["source"] = package
            X_frames.append(X)
            y_frames.append(y)
        return pd.concat(X_frames), pd.concat(y_frames)
def collect_dataframes ( self , packages = [ ] ) : if not packages : packages = self . get_packages ( ) f = Foundry ( ) X_frames = [ ] y_frames = [ ] for package in packages : self = self . load ( package ) X , y = self . load_data ( ) X [ "source" ] = package y [ "source" ] = package X_frames . append ( X ) y_frames . append ( y ) return pd . concat ( X_frames ) , pd . concat ( y_frames )
Collect dataframes of local data packages
Collect dataframes of local data packages
"""Collect dataframes of local data packages
        Args:
           packages (list): List of packages to collect, defaults to all

        Returns
        -------
            (tuple): Tuple of X(pandas.DataFrame), y(pandas.DataFrame)
        """ # TODO: update how this is unpacked, out of date
self
packages
List of packages to collect, defaults to all
List of packages to collect defaults to all