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.
Print(df.shape)
Output: (100, 9)
--
Print(df.shape)
Output: (33, 9)
--
Print(df.shape)
Output: (153, 9)
--
Print(df.shape)
Output: (148, 9)
Can you please tell me how we can select only second last row or second last row’s any specific cell using iloc[]