why sir has used df.iloc can’t we use my_data.iloc
Confusion in a line
when i wrote my_data.iloc[3] it is running fine then why sir used df.iloc[3] please make me understand
hey @anindo.kmr ,
sir has used it for just an explanation purpose , not anything else.
You can try both , it will work perfectly.
I hope this would have resolved your doubt.
Thank You and Happy Learning
.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.