def _add_commandline_features(output_df: pd.DataFrame, force: bool):
    '\n    Add commandline default features.\n\n    Parameters\n    ----------\n    output_df : pd.DataFrame\n        The dataframe to add features to\n    force : bool\n        If True overwrite existing feature columns\n\n    '
    if (('commandlineLen' not in output_df) or force):
        output_df['commandlineLen'] = output_df.apply((lambda x: len(x.CommandLine)), axis=1)
    if (('commandlineLogLen' not in output_df) or force):
        output_df['commandlineLogLen'] = output_df.apply((lambda x: (log10(x.commandlineLen) if x.commandlineLen else 0)), axis=1)
    if (('commandlineTokensFull' not in output_df) or force):
        output_df['commandlineTokensFull'] = output_df[['CommandLine']].apply((lambda x: delim_count(x.CommandLine)), axis=1)
    if (('commandlineScore' not in output_df) or force):
        output_df['commandlineScore'] = output_df.apply((lambda x: char_ord_score(x.CommandLine)), axis=1)
    if (('commandlineTokensHash' not in output_df) or force):
        output_df['commandlineTokensHash'] = output_df.apply((lambda x: delim_hash(x.CommandLine)), axis=1)
Add commandline default features.

Parameters
----------
output_df : pd.DataFrame
    The dataframe to add features to
force : bool
    If True overwrite existing feature columns
def _add_commandline_features(output_df: pd.DataFrame, force: bool):
    '\n    Add commandline default features.\n\n    Parameters\n    ----------\n    output_df : pd.DataFrame\n        The dataframe to add features to\n    force : bool\n        If True overwrite existing feature columns\n\n    '
    if (('commandlineLen' not in output_df) or force):
        output_df['commandlineLen'] = output_df.apply((lambda x: len(x.CommandLine)), axis=1)
    if (('commandlineLogLen' not in output_df) or force):
        output_df['commandlineLogLen'] = output_df.apply((lambda x: (log10(x.commandlineLen) if x.commandlineLen else 0)), axis=1)
    if (('commandlineTokensFull' not in output_df) or force):
        output_df['commandlineTokensFull'] = output_df[['CommandLine']].apply((lambda x: delim_count(x.CommandLine)), axis=1)
    if (('commandlineScore' not in output_df) or force):
        output_df['commandlineScore'] = output_df.apply((lambda x: char_ord_score(x.CommandLine)), axis=1)
    if (('commandlineTokensHash' not in output_df) or force):
        output_df['commandlineTokensHash'] = output_df.apply((lambda x: delim_hash(x.CommandLine)), axis=1)