8. loc Vs. iloc Pandas Data Frame | Python Pandas Tutorial

  Рет қаралды 1,608

Data Thinkers

Data Thinkers

Күн бұрын

In this video, I have Compared loc Vs. iloc very clearly with many practical
examples.
loc Vs. iloc Pandas DataFrame | Python Pandas Tutorial (2020)
Data Frame 1
-------------------------------------------------
import pandas as pd
dict1 ={'Name':['Priyang','Aadhya','Krisha','Vedant','Parshv',
'Mittal','Archana'],
'Marks':[98,89,99,87,90,83,82],
'Grades':['AA','AB','AA','AB','AC','BA','BB']
}
df1=pd.DataFrame(dict1)
-------------------------------------------------
Data Frame 2
-------------------------------------------------
import pandas as pd
dict1 ={'Name':['Priyang','Aadhya','Krisha','Vedant','Parshv',
'Mittal','Archana'],
'Marks':[98,89,99,87,90,83,82],
'Grades':['AA','AB','AA','AB','AC','BA','BB']
}
df1=pd.DataFrame(dict1,index=['stu1','stu2','stu3','stu4','stu5',
'stu6','stu7'])
-----------------------------------------------------------------------
loc Vs. iloc Pandas DataFrame | Python Pandas Tutorial (2020)
If you enjoy these tutorials, like the video, and give it a thumbs up and also share these videos with your friends and families if you think these videos would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.
Thank you all for watching

Пікірлер: 8
@jaiyktv
@jaiyktv Жыл бұрын
Best explanation on youtube
@AjayKumar-gt6ex
@AjayKumar-gt6ex 3 жыл бұрын
Very well explained ,with so much clearity...keep doing this good work bro👍👍👍
@DataThinkers
@DataThinkers 3 жыл бұрын
Thanks for your comment. Glad you like this video.keep watching.thanks.
@dpegn
@dpegn Жыл бұрын
Hello sir at the end for iloc once you used [ ] and other time :
@DataThinkers
@DataThinkers Жыл бұрын
please elaborate on your question.
@dpegn
@dpegn Жыл бұрын
Thanks for your time it got resolved in next video.. i was confused once you passed list of numberz And once directly mentioned numbers as in slicing
@dpegn
@dpegn Жыл бұрын
Pls make video on Git and GitHub pls
@DataThinkers
@DataThinkers Жыл бұрын
Sure, Thanks
9. loc, iloc, iat, at & ix Pandas Data Frame | Python Pandas Tutorial
8:32
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Pandas GroupBy - Guide to Grouping Data in Python Pandas
13:01
WsCube Tech
Рет қаралды 38 М.
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 607 М.
Pandas functions: merge vs. join vs. concat
16:15
Mısra Turp
Рет қаралды 28 М.
UNDERSTANDING LOC[ ] & iLOC[ ] IN PANDAS
11:13
Sundeep Saradhi Kanthety
Рет қаралды 68 М.
Creating Visualizations using Pandas Library | Python Pandas Tutorials
16:50
Merging DataFrames in Pandas | Python Pandas Tutorials
22:09
Alex The Analyst
Рет қаралды 129 М.
Python Lambda Functions??
4:30
b001
Рет қаралды 213 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН