textpack icon indicating copy to clipboard operation
textpack copied to clipboard

Group thousands of similar spreadsheet or database text entries in seconds

Results 8 textpack issues
Sort by recently updated
recently updated
newest added

Hi, I am facing memory error while trying to run it on COLAB (I have only this environment to run) I checked the mentioned solution but still getting same error...

While trying to do tp.read_excel(r'C:\Users\...\test.xlsx', ['store'], match_threshold=0.8) it is giving me this error. Can the author help why is it happening ?

File "C:\PythonWork\Project\fuzzywuzzy-ag.py", line 38, in tp.TextPack(df,'AG Name',match_threshold=0.7,ngram_remove=r'[,-./]', ngram_length=2) File "C:\Users\XXX\AppData\Local\Continuum\anaconda3\lib\site-packages\textpack\tp.py", line 12, in __init__ self._column = self._get_column(columns_to_group) File "C:\Users\XXX\AppData\Local\Continuum\anaconda3\lib\site-packages\textpack\tp.py", line 21, in _get_column self.df['textpackGrouper'] = self.df[columns_to_group.pop(0)].astype(str).str.cat(self.df[columns_to_group].astype(str)) AttributeError: 'str' object has...

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:...

To address the pip install textpack error: ``` error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] The 'sklearn' PyPI...

When running `pip install textpack` it returns an error. This might likely be to the name change of Scikit-learn install pip.

Added the function return the TextPackObject as a pandas Data Frame