title: Pandas(Python) : Fill empty cells with with previous row value?
body: <p>I want to fill empty cells with with previous row value if they start with number. For example, I have </p>
  
  <pre><code>    Text    Text    
      30      Text    Text    
              Text    Text    
              Text    Text    
      31      Text    Text
      Text    Text    
      31      Text    Text    
              Text    Text    
              Text    Text    
      32      Text    Text
      Text    Text    
              Text    Text    
              Text    Text    
              Text    Text    
              Text    Text
  </code></pre>
  
  <p>I however, want to have </p>
  
  <pre><code>Text    Text    
  30      Text    Text    
  30      Text    Text    
  30      Text    Text    
  31      Text    Text
  Text    Text    
  31      Text    Text    
  31      Text    Text    
  31      Text    Text    
  32      Text    Text
  Text    Text    
          Text    Text    
          Text    Text    
          Text    Text    
          Text    Text
  </code></pre>
  
  <p>I tried to reach this by using this code:</p>
  
  <pre><code>data = pd.read_csv('DATA.csv',sep='\t', dtype=object, error_bad_lines=False)
  data = data.fillna(method='ffill', inplace=True)
  print(data)
  </code></pre>
  
  <p>but it did not work. </p>
  
  <p>Is there anyway to do this?</p>