title: Merging Series to Single Output - pandas
body: <p>I want a single series as the output and not multiple series like below:</p>
  
  <p>Current Output:</p>
  
  <pre><code>0    5.98% to 35.89%
  1           1% to 6%
  dtype: object
  0    1% to 6%
  dtype: object
  0    6.99% to 24.99%
  1    6.99% to 24.99%
  2    6.99% to 24.99%
  3    6.99% to 24.99%
  dtype: object
  0    6.99% to 24.99%
  dtype: object
  </code></pre>
  
  <p>Desired Output:</p>
  
  <pre><code>0    5.98% to 35.89%
  1           1% to 6%
  0    1% to 6%
  0    6.99% to 24.99%
  1    6.99% to 24.99%
  2    6.99% to 24.99%
  3    6.99% to 24.99%
  0    6.99% to 24.99%
  dtype: object
  </code></pre>
  
  <p>However with my current code I can't get the series to consolidate. I have attempted to make it into a dataframe with all the information I want appended to it; however, when trying to combine all the dataframes in the output I haven't been able to get it to combine either. I know I am running a loop before the creation of the dataframe for the regex operator I am doing to some text before creating the strings/dataframe which is most likely causing the multiple outputs. <strong>Is there a way I can combine it post loop?</strong> Code below:</p>
  
  <pre><code>paragraph = soup.find_all(text=re.compile('[0-9]%'))
  for n in paragraph:
      matches = []
      matches.extend(re.findall('(?i)\d+(?:\.\d+)?%\s*(?:to|-)\s*\d+(?:\.\d+)?%', n.string))
      sint = pd.Series(matches)
      if sint.empty:
          continue
      print(sint)
  </code></pre>
  
  <p>With Edits:</p>
  
  <pre><code>    paragraph = soup.find_all(text=re.compile('[0-9]%'))
      vals = []
      for n in paragraph:
          matches = re.findall('(?i)\d+(?:\.\d+)?%\s*(?:to|-)\s*\d+(?:\.\d+)?%', n.string)
          vals.append(pd.Series(matches))
  sint = pd.concat(vals)
  print(sint)
  </code></pre>
  
  <p>New Output:</p>
  
  <pre><code>0    6.99% to 24.99%
  dtype: object
  </code></pre>