fuzzymatcher icon indicating copy to clipboard operation
fuzzymatcher copied to clipboard

python3 TypeError: join() takes no keyword arguments

Open kleinias opened this issue 6 years ago • 1 comments

I tried it out with python3 and got some error. I know, that you are working with that other python, but if you switch:

File "/home/s/.local/lib/python3.6/site-packages/fuzzymatcher/init.py", line 24, in link_table m.match_all() File "/home/s/.local/lib/python3.6/site-packages/fuzzymatcher/matcher.py", line 39, in match_all self.data_preprocessor.preprocess() File "/home/s/.local/lib/python3.6/site-packages/fuzzymatcher/data_preprocessor_default.py", line 41, in preprocess self._concat_all_fields(self.matcher.df_left, left_cols) File "/home/s/.local/lib/python3.6/site-packages/fuzzymatcher/data_preprocessor_default.py", line 58, in _concat_all_fields df['_concat_all'] = df[cols].apply(' '.join, axis=1) File "/usr/local/lib/python3.6/dist-packages/pandas/core/series.py", line 2510, in apply mapped = lib.map_infer(values, f, convert=convert_dtype) File "pandas/_libs/src/inference.pyx", line 1521, in pandas._libs.lib.map_infer File "/usr/local/lib/python3.6/dist-packages/pandas/core/series.py", line 2497, in f = lambda x: func(x, *args, **kwds) TypeError: join() takes no keyword arguments

But you would find it by yourself for sure.

kleinias avatar Dec 05 '17 13:12 kleinias

Could you be more specific about the code you ran to receive this error?

What did the data look like?

RobinL avatar Dec 06 '17 21:12 RobinL