def generate(self):
        """
        Fetch all rows associated with this experiment.

        This will generate a huge .csv.
        """
        exp_name = self.exp_name()

        fname = os.path.basename(self.out_path)
        fname = "{exp}_{prefix}_{name}{ending}".format(
            exp=exp_name,
            prefix=os.path.splitext(fname)[0],
            ending=os.path.splitext(fname)[-1],
            name="full")
        first = True
        for chunk in self.report():
            print("Writing chunk to :'{0}'".format(fname))
            chunk.to_csv(fname, header=first, mode='a')
            first = False
def generate ( self ) : exp_name = self . exp_name ( ) fname = os . path . basename ( self . out_path ) fname = "{exp}_{prefix}_{name}{ending}" . format ( exp = exp_name , prefix = os . path . splitext ( fname ) [ 0 ] , ending = os . path . splitext ( fname ) [ - 1 ] , name = "full" ) first = True for chunk in self . report ( ) : print ( "Writing chunk to :'{0}'" . format ( fname ) ) chunk . to_csv ( fname , header = first , mode = 'a' ) first = False
Fetch all rows associated with this experiment.

        This will generate a huge .csv.