Skip to content

Defaults and keyword argument format now available #2

@ParticularMiner

Description

@ParticularMiner

@iibarant @berndnoll

Defaults and keyword argument format now available for Red String Grouper. Weights, for instance, have a default value of 1.0 as requested by @berndnoll. Here's how a sample call would now look like:

from red_string_grouper import record_linkage, field

matches = record_linkage(
    df,
    fields_2b_matched_fuzzily=[
        field('statusText'),
        field('address'),
        field('addressZipcode', weight=2, min_similarity=0.9999)
    ],
    fields_2b_matched_exactly=[
        field('addressState', weight=4),
        field('hasVideo')
    ]
)

I'd appreciate it if you or anyone else would take a look at these new changes and test that they are working as prescribed.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions