semra Logo

Getting Started

  • Installation
  • Mapping Assembly Pipeline
  • SeMRA Raw Semantic Mappings Database
  • Domain-specific Processed Mapping Databases
  • Prioritizing CURIEs in a Dataframe
  • Data Structure
  • Getting and Writing Semantic Mappings
  • Reference
    • semra.api Module
      • Functions
        • apply_mutations
        • assemble_evidences
        • assert_projection
        • count_component_sizes
        • count_source_target
        • deduplicate_evidence
        • filter_many_to_many
        • filter_mappings
        • filter_minimum_confidence
        • filter_prefixes
        • filter_self_matches
        • filter_subsets
        • flip
        • get_asymmetric_counter
        • get_identifier_index
        • get_index
        • get_many_to_many
        • get_observed_terms
        • get_priority_reference
        • get_symmetric_counter
        • get_terms
        • get_test_evidence
        • get_test_reference
        • hydrate_subsets
        • keep_object_prefixes
        • keep_prefixes
        • keep_subject_prefixes
        • print_source_target_counts
        • prioritize
        • prioritize_df
        • project
        • project_dict
        • str_source_target_counts
        • summarize_prefixes
        • tabulate_index
        • unindex
        • update_literal_mappings
        • validate_mappings
      • Classes
    • semra.inference Module
    • semra.rules Module
    • semra.vocabulary Module
    • semra.constants Module
  • Command Line Interface
  • Querying with Cypher
semra
  • Reference
  • print_source_target_counts
  • View page source

print_source_target_counts

print_source_target_counts(mappings: Iterable[Mapping], minimum: int = 0) → None[source]

Print the counts of source/target prefixes.

Parameters:
  • mappings – An iterable of mappings

  • minimum – The minimum count to display in the table. Defaults to zero, which displays all source/target prefix pairs.

See also

This table is generated with str_source_target_counts()

Previous Next

© Copyright 2026, Charles Tapley Hoyt.

Built with Sphinx using a theme provided by Read the Docs.