counts_to_text
counts_to_text(
counts ,
limit: int | None[int, None] = None,
)-> ‘Text’
Render a mapping of name to count as a: 2, b: 1.
Names past limit (config’s display_max_items) are summarized rather than dropped silently.
DASCore 1.0 beta is out! Read the announcement, check the migration guide, and help us test it.
| function of dascore.utils.display | source |
counts_to_text(
counts ,
limit: int | None[int, None] = None,
)-> ‘Text’
Render a mapping of name to count as a: 2, b: 1.
Names past limit (config’s display_max_items) are summarized rather than dropped silently.