## Python Pandas Part-15 | Pandas loc & iloc Method in Hindi | Machine Learning Course #01.02.15

‘Pandas loc & iloc Method in Hindi | Python Pandas Part-15 in Hindi’

Course name: “Machine Learning – Beginner to Professional Hands-on Python Course in Hindi”

In this tutorial we explain Pandas loc & iloc Method in Hindi and describe these:
1) What is Pandas loc Method
2) What is Pandas iloc method

Python Pandas Tutorial Part-14
https://youtu.be/txHUiXkZlWE

Course Playlists-
Python Pandas Tutorial in Hindi:

Machine Learning Beginner to Professional Hands-on Python Course in Hindi:

Python NumPy Tutorial in Hindi:

Python Matplotlib Tutorial in Hindi:

Introduction of Machine Learning:

——————————————————————-
-Website: https://www.indianaiproduction.com
-Instagram: https://www.instagram.com/indianaipro

#Pandasloc #PandasilocinHindi #MachineLearningTutorialinHindi #IndianAIProduction

Source

### Comment List

• Indian AI Production
December 16, 2020

i have aquery in loc method while accessing the rowand column labels resulting in error! What to do sir?

• Indian AI Production
December 16, 2020

Sir I have confusion in Boolean parameters

• Indian AI Production
December 16, 2020

i am getting error like Boolean index has wrong length: 3 instead of 10

• Indian AI Production
December 16, 2020

Df.loc[df[ ' Class'] < 11]
Maine ek data set jo ki Google play store ka hai ..usme es code ko use like such as
Df.loc[df[ ' Installs] < 1000] to error de rha ..
error ye de rha ki < this symbol is not work between str and num .
Plzz help me regarding to this

• Indian AI Production
December 16, 2020

Sir,I have query in loc Boolean call

• Indian AI Production
December 16, 2020

is it possible to change the vale by using iloc or loc?

• Indian AI Production
December 16, 2020

I like your teaching style in hindi, was trying ur system in dataframe
2. movie_df['timestamp'] = pd.to_datetime(movie_df['timestamp'])
Now the fun Part
A. movie_df.loc['2017-08-29'] # will show only for specified date –Working
B. movie_df.loc[movie_df['category']=='IMDb users'] # filter records only for IMBb users –Working

If I combine both using ur way
movie_df.loc[['2017-08-29'],movie_df['category']=='IMDb users']
this is giving error…
any solutions? can u whatsapp me on +919920484444 ?

• Indian AI Production
December 16, 2020

Hi sir…do.iloc[[True, False, True]]
Statement is not working for me…its showing index error…"item wrong leanth 3 instead of 5". But I have exactly same data frame as u

• Indian AI Production
December 16, 2020

• Indian AI Production
December 16, 2020

sir replay dena

• Indian AI Production
December 16, 2020

df.loc [ df [ 'class'] <11]
yeh mere me work nhi karta 11 greater or less sab value print hoti hai,
koi program me affect nahi karata

• Indian AI Production
December 16, 2020

df.loc[[False, False, True]] or df.iloc[[True, False, True]]

Unable to understand these two statements , could you plz let me know how it is working.