src/pybel/struct/summary/supersummary.py
def edges_str(
    graph: BELGraph,
    *,
    examples: bool = True,
    add_count: bool = True,
    minimum: Optional[int] = None,
    **kwargs,
) -> str:
    """Make a summary str of the edges in the graph."""
    df = edge_table_df(graph, examples=examples, minimum=minimum)
    headers = list(df.columns)
    if add_count:
        headers[0] += ' ({})'.format(intword(len(df.index)))
    return tabulate(df.values, headers=headers, **kwargs)
Make a summary str of the edges in the graph.
Make a summary str of the edges in the graph.
Make a summary str of the edges in the graph .
def edges_str(
    graph: BELGraph,
    *,
    examples: bool = True,
    add_count: bool = True,
    minimum: Optional[int] = None,
    **kwargs,
) -> str:
    df = edge_table_df(graph, examples=examples, minimum=minimum)
    headers = list(df.columns)
    if add_count:
        headers[0] += ' ({})'.format(intword(len(df.index)))
    return tabulate(df.values, headers=headers, **kwargs)
def edges_str ( graph : BELGraph , * , examples : bool = True , add_count : bool = True , minimum : Optional [ int ] = None , ** kwargs , ) -> str : df = edge_table_df ( graph , examples = examples , minimum = minimum ) headers = list ( df . columns ) if add_count : headers [ 0 ] += ' ({})' . format ( intword ( len ( df . index ) ) ) return tabulate ( df . values , headers = headers , ** kwargs )
Make a summary str of the edges in the graph.
Make a summary str of the edges in the graph .
"""Make a summary str of the edges in the graph."""
graph
BELGraph
examples
bool
add_count
bool
minimum
Optional[int]