Skip to content

Type Error Running Textpack #6

@garnastics

Description

@garnastics

When I run the sample code below via a Jupyter notebook (with some modifications specific to my environment):

cars = tp.read_excel('E:/NameCombine/ARM_NAME_ADDRESS_COMBINE_20210915.xlsx', ['name'], 'NAME_COMBINE', match_threshold=0.8, ngram_length=5)

I get the following error:

TypeError: init() takes from 3 to 6 positional arguments but 7 were given

I get the same error no matter how many parameters I try to pass - anywhere from 3 to 6.

Any ideas on how to resolve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions