title: How to select second last row of a pandas dataframe using iloc[]?
body: <p>I fetch the data from online and store that data in a pandas dataframe. But the problem is the dataframe format is not same every time mainly numbers of rows.</p>
  <pre><code>Print(df.shape)
  Output: (100, 9)
  </code></pre>
  <p>--</p>
  <pre><code>Print(df.shape)
  Output: (33, 9)
  </code></pre>
  <p>--</p>
  <pre><code>Print(df.shape)
  Output: (153, 9)
  </code></pre>
  <p>--</p>
  <pre><code>Print(df.shape)
  Output: (148, 9)
  </code></pre>
  <p>Can you please tell me how we can select only second last row or second last row’s any specific cell using iloc[]</p>