textpack icon indicating copy to clipboard operation
textpack copied to clipboard

Type Error Running Textpack

Open garnastics opened this issue 4 years ago • 0 comments

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?

garnastics avatar Sep 20 '21 00:09 garnastics