title: Trying to check similarity of 2 columns full of strings with Python and Pysimilar or DamerauLevenshtein
body: <p>I tried to summarize texts with a summarizer! The problem is that I would like to see if these texts are too similar, to do this I could read on google that I could use packages like pysimilar or fastDamerauLevenstein.... the problem and that <strong>they seem to work only 1 text only</strong>... Would you know how to do it for example <strong>4 texts or more?</strong></p>
  <pre><code>from summarizers import Summarizers 
  summ = Summarizers() 
  data = [&quot;The NN-CS89L offers next-level cooking convenience. Its four distinct cooking methods - steaming, baking, grilling and microwaving ensure your meals are cooked or reheated to perfection. Its multi-function capabilities can be combined to save time without compromising taste, texture or nutritional value. It’s the all-in-one kitchen companion designed for people with a busy lifestyle.&quot;, &quot;These slim and stylish bodies are packed with high performance. The attractive compact designs and energy-saving functions help Panasonic Blu-ray products consume as little power as possible. You can experience great movie quality with this ultra-fast booting DMP-BD89 Full HD Blu-ray disc player. After starting the player, the time it takes from launching the menu to playing a disc is much shorter than in conventional models. The BD89 also allows for smart home networking (DLNA) and provides access to video on demand, so that home entertainment is more intuitive, more comfortable, and lots more fun.&quot;] 
  
  df = pd.DataFrame(data, columns=['summaries'])
  df['abstracts'] = df['summaries'].apply(summ)
  
  
  compare(df.summaries, df.abstracts) ``` 
  
  
  
  
  I have this : 
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-14-d1d78dc1f358&gt; in &lt;module&gt;
  ----&gt; 1 compare(df.summaries, df.abstracts)
  
  ~\Anaconda3\lib\site-packages\pysimilar\__init__.py in compare(self, string_i, string_j, isfile)
       89 
       90         if not isinstance(string_i, (str, Path)) or not isinstance(string_j, (str, Path)):
  ---&gt; 91             raise TypeError(
       92                 'Both string i and string j must be of type either string or Path')
       93 
  
  TypeError: Both string i and string j must be of type either string or Path
  
  Thanks in advance !
  
  </code></pre>