I was trying some coding as practice where I found the following:
df = pd.read_csv('stock.csv',usecols=[1,2,3,4])
df = df.iloc[::-1]
I am not able to understand what the second statement is doing. I tried to read the documentation for iloc but am not able to understand the purpose of it.
Please help me understand the reason behind the usage of second line in the code.