def help_dataframe_pe(self):
        """ Help for making a DataFrame with Workbench CLI """
        help =  '%sMaking a DataFrame: %s how to make a dataframe from pe files' % (color.Yellow, color.Green)
        help += '\n\n%sPE Files Example (loading a directory):'  % (color.Green)
        help += '\n\t%s> load_sample /path/to/pe/bad [\'bad\', \'case_69\']' % (color.LightBlue)
        help += '\n\n\t%sSearch for all samples in the database that are pe files,'  % (color.Green)
        help += '\n\t%sthis command returns the sample_set containing the matching items'% (color.Green)
        help += '\n\t%s> my_exes = search([\'exe\'])' % (color.LightBlue)
        help += '\n\n\t%sRun workers on this sample_set:'  % (color.Green)
        help += '\n\t%s> pe_outputs = set_work_request(\'pe_features\', my_exes, [\'md5\', \'dense_features.*\', \'tags\'])' % (color.LightBlue)
        help += '\n\n\t%sMake a DataFrame:'  % (color.Green)
        help += '\n\t%s> pe_df = pd.DataFrame(pe_outputs) %s' % (color.LightBlue, color.Normal)
        help += '\n\t%s> pe_df.head() %s' % (color.LightBlue, color.Normal)
        help += '\n\t%s> pe_df = flatten_tags(pe_df) %s' % (color.LightBlue, color.Normal)
        help += '\n\t%s> pe_df.hist(\'check_sum\',\'tags\') %s' % (color.LightBlue, color.Normal)
        help += '\n\t%s> pe_df.bloxplot(\'check_sum\',\'tags\') %s' % (color.LightBlue, color.Normal)
        return help
def help_dataframe_pe ( self ) : help = '%sMaking a DataFrame: %s how to make a dataframe from pe files' % ( color . Yellow , color . Green ) help += '\n\n%sPE Files Example (loading a directory):' % ( color . Green ) help += '\n\t%s> load_sample /path/to/pe/bad [\'bad\', \'case_69\']' % ( color . LightBlue ) help += '\n\n\t%sSearch for all samples in the database that are pe files,' % ( color . Green ) help += '\n\t%sthis command returns the sample_set containing the matching items' % ( color . Green ) help += '\n\t%s> my_exes = search([\'exe\'])' % ( color . LightBlue ) help += '\n\n\t%sRun workers on this sample_set:' % ( color . Green ) help += '\n\t%s> pe_outputs = set_work_request(\'pe_features\', my_exes, [\'md5\', \'dense_features.*\', \'tags\'])' % ( color . LightBlue ) help += '\n\n\t%sMake a DataFrame:' % ( color . Green ) help += '\n\t%s> pe_df = pd.DataFrame(pe_outputs) %s' % ( color . LightBlue , color . Normal ) help += '\n\t%s> pe_df.head() %s' % ( color . LightBlue , color . Normal ) help += '\n\t%s> pe_df = flatten_tags(pe_df) %s' % ( color . LightBlue , color . Normal ) help += '\n\t%s> pe_df.hist(\'check_sum\',\'tags\') %s' % ( color . LightBlue , color . Normal ) help += '\n\t%s> pe_df.bloxplot(\'check_sum\',\'tags\') %s' % ( color . LightBlue , color . Normal ) return help
Help for making a DataFrame with Workbench CLI