pandas iterrows tqdm

for index, row in tqdm(df.iterrows(), total=df.shape[0]):
   print("index",index)
   print("row",row)

Here is what the above code is Doing:
1. We’re using the tqdm library to show a progress bar.
2. We’re using the iterrows() function to iterate over the rows of the dataframe.
3. We’re using the total argument to tell tqdm how many rows there are in the dataframe.
4. We’re printing the index and row of each row in the dataframe.