src/pybel/struct/summary/supersummary.py
def functions_str(graph, examples: bool = True, add_count: bool = True, **kwargs) -> str:
    """Make a summary string of the functions in the graph."""
    df = function_table_df(graph, examples=examples)
    headers = list(df.columns)
    if add_count:
        headers[0] += ' ({})'.format(len(df.index))
    return tabulate(df.values, headers=headers, **kwargs)
Make a summary string of the functions in the graph.
Make a summary string of the functions in the graph.
Make a summary string of the functions in the graph .
def functions_str(graph, examples: bool = True, add_count: bool = True, **kwargs) -> str:
    df = function_table_df(graph, examples=examples)
    headers = list(df.columns)
    if add_count:
        headers[0] += ' ({})'.format(len(df.index))
    return tabulate(df.values, headers=headers, **kwargs)
def functions_str ( graph , examples : bool = True , add_count : bool = True , ** kwargs ) -> str : df = function_table_df ( graph , examples = examples ) headers = list ( df . columns ) if add_count : headers [ 0 ] += ' ({})' . format ( len ( df . index ) ) return tabulate ( df . values , headers = headers , ** kwargs )
Make a summary string of the functions in the graph.
Make a summary string of the functions in the graph .
"""Make a summary string of the functions in the graph."""
graph
examples
bool
add_count
bool