title: Remove a Row in an Array in Javascript
body: <p>I am scraping some data from a website table using Data Miner. The table has rankings of players in the first column from 1 to 235. The table is split at various locations by a string. I am wanting to remove the rows of the table at these locations to keep the table from being separated. The code below will remove the strings from the column but will leave a blank row. What do I need to add to the code to remove all blank rows from the table? Also, the numbers repeat after 9. What do I need to add to keep the numbers increasing as you move down the table? Below is a link to a picture for some reference.</p>
  
  <pre><code>var cleanup = function(results) {
  
    $.each(results, function(){  
  
          var column = this.values[0]; //set column equal to first column of table.
  
          column = Object.values(column);     // sets column to array.
  
          var onlyranks = column.filter(value =&gt; value.length !== 0);      // set value function to filter column if length does not equal to 0.
  
           console.log(column);     // display filtered column to console.
  
    });
  
    return results;                            // return modified results
  };
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JJhwI.png" rel="nofollow noreferrer">Picture</a></p>
  
  <p><a href="https://i.stack.imgur.com/oAORl.png" rel="nofollow noreferrer">New Picture</a></p>