WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FAIpQLScSVFlE-stz69M_l46xcwZlVRzDxT_91dlc-px5ytr7QHYmkQ/viewform
Addition: 1- In case, you want to **impute** the null values of numerical column, you can check the distribution of the values first; If it's not skewed, you may use mean. In case it is skewed, you may use median. 2- Generally, before we **delete** null values, we can check the proportion of the null values. If it's less than 5 % of the total dataset, we can opt to delete the null values. However, always take the context of our data before making any decision with the null values. 😬
But does it make any sense, to fill NA values with the next or the previous value? Or even more useless to fill it with a 0 or 5? Why would you do this?
I need intelligent filling, eg filling NaN with the mean of a data observation's category. E.g. car weight is missing, but we know it's SUV, so we apply average SUV weight.
Hi Sir, great video, one question, when fill in the mean(), or max() for certain column, the entire whole dataframe was filled in with that mean() even the categorical column, can I just fill in the mean for that column but keep the other columns unchanged?
@@mohdzohairrizvi4377 Create a dictionary eg fillna({'colunmname1': 0, 'columnname2':5}). It will replace nulls in column1 with 0 and nulls in column 2 with 5
Hi Team, I want to replace missing value in original df. I used below code but it is not working, kindly help. df[(df['Age'].isnull()) & (df['Pclass']==2)].fillna(29)
you should explain in which scenario which type of filling method is appropriate or suitable this is not a good video for example if we have outliers then we can not use mean
A LEUZ L fichier .zip eli baathhouli ghazi mafihech questionet, fih les fichiers csv wl fichier jupyter mais maghir questions, EKTEBLI LES QUESTIONS 1) ... 2).. F KOL COMMENTAIRE WAHDOU WALA MABADDHOM WALA KIMA THEB wena taw nekteblek b ay façon juste hajti bel question chnia 1) .. 2) .. 3) ..
ebaathouli les questions ektebli juste 1) .. wala 2).. commentaire w to njeweb west l comment l fichier eli baathou ghazi mafihech questions ferghin 1) 2) 3) ...
WISH TO CONTRIBUTE VIDEOS ON GEEKSFORGEEKS? Please submit this Google Form - docs.google.com/forms/d/e/1FAIpQLScSVFlE-stz69M_l46xcwZlVRzDxT_91dlc-px5ytr7QHYmkQ/viewform
Addition:
1- In case, you want to **impute** the null values of numerical column, you can check the distribution of the values first; If it's not skewed, you may use mean. In case it is skewed, you may use median.
2- Generally, before we **delete** null values, we can check the proportion of the null values. If it's less than 5 % of the total dataset, we can opt to delete the null values.
However, always take the context of our data before making any decision with the null values. 😬
got a solution after about 30 mins of search.. Thank you made my day..
geeksforgeeks never disappoints, thanks for this!
You, sir, are amazing and a savior to my project 🙏
Thanks brother.
The video was amazing, it cleared all my doubts.
Rise and shine🎉
Thank you. The class, for me, was very insightful and rewarding. Worth my time.
Clear explanation and easy to understand. Thank you!
Hi. very easy tutorial bro. As very beginner on python I can get it easy. Salute
Thank you .very nice and clear explanation .Easy for everyone to understand.thank you sir .
Bhut acha conceptual content hai yrr. It's really awesome!!!
Very nice and helpful lesson. Thanks for sharing. 🎉🎉🎉
One of the best explanations!! kudos
Thanks for the clarification , helped in clear a problem I was stuck in
Really amazing sir.
after that wanna enroll for DS course.
chala chala TQ anna nuvu chepindhi chala thoraga ardham chesukunanu and chala bhaga ardham iendhi
Great content..Exactly what I have been looking for... Thanks
Thanks so much, this was really well explained and helpful.
Woooo!! Súper easy explained!!
Thank you it is wonderful explanation. You answered my question perfectly.
Very nice explanation 👍
very very clear thank you so much for this fantastic video...
Great resource for EDA ☺☺
Great content, thank you so much.
Informative, can you please also make a video telling how to handle null values using ML algorithms ?
thanks for the informative video..🙏
It was help ful, thanks bro
Thank you, very clear and nice tutorial......
clear explanation. Thanks
really nice
session
thank you the explanation is clear and helpful
Thanks! You help me in my project ❤
We have to take care of data types also before filling with any value
so at 21:50 limit direction = 'forward" does work similar to method = 'pad"?
this is so good and easy to understand thank you
well explained. Can you make a video to fill in Na values by generating random numbers around the mean?
good presentation and nice knowledge
thank you ; very good explanation
Nice one Mate!!!!
Good job... keep up good work
when should we drop a row?, i'm always fill the values with mean, median, mode etc, because rest of the columns seems importand.
Clear explain ❤️
thanks so much on this video ❤
But does it make any sense, to fill NA values with the next or the previous value? Or even more useless to fill it with a 0 or 5? Why would you do this?
I need intelligent filling, eg filling NaN with the mean of a data observation's category. E.g. car weight is missing, but we know it's SUV, so we apply average SUV weight.
this is brilliant thanks
Clean. Thanks!
Great content
thnx it is a good explanation
#2
f = lambda df=df_rec: df.isna().sum(axis=0)
result = f(df_rec)
print(result)
thank you for this video
It was truly great
thanks
How would you fill empty values (NaN or NA) in a list or dataframe with the last known good value?
Hi Sir, great video, one question, when fill in the mean(), or max() for certain column, the entire whole dataframe was filled in with that mean() even the categorical column, can I just fill in the mean for that column but keep the other columns unchanged?
did you get the answer to your question?
I also needed the same question to be answered.
@@mohdzohairrizvi4377 Create a dictionary eg fillna({'colunmname1': 0, 'columnname2':5}). It will replace nulls in column1 with 0 and nulls in column 2 with 5
Thank you so much!
Thanks Dude!
How to fillna using interpolate method in the some column in once time?
#1
df_rec = pd.read_csv("recommendation.csv")
print(df_rec)
print(df_rec.dtypes)
Super class
I'm sorry Mr, can you make tutorial handling missing values with interpolasi linier method?
Sir, Let us the above as same example, now i need to save the dataset(after handiling the missing value) as csv file
how about fill the null value if the datasets is categkrical
for i in range(108):
print("Thank you")
can we have a mean value for pad or bill
Thank you, your explanations are very clear! How can I follow more courses by Akshit Madan?
Thanks
Hi Team,
I want to replace missing value in original df. I used below code but it is not working, kindly help.
df[(df['Age'].isnull()) & (df['Pclass']==2)].fillna(29)
Filling and replacing is same i think?
Find the number of rows with missing values means
Can I use df.isnull().sum().sum() in Python ?
Can anyone , please answer me ?
what if the missing values are defined by "-"
Bro hw remove the $ symbol in column
you should explain in which scenario which type of filling method is appropriate or suitable this is not a good video
for example if we have outliers then we can not use mean
A LEUZ
L fichier .zip eli baathhouli ghazi mafihech questionet, fih les fichiers csv wl fichier jupyter mais maghir questions, EKTEBLI LES QUESTIONS 1) ... 2).. F KOL COMMENTAIRE WAHDOU WALA MABADDHOM WALA KIMA THEB wena taw nekteblek b ay façon
juste hajti bel question chnia 1) .. 2) .. 3) ..
print"(Thanks for showing so many methods")
👏
hey
ebaathouli les questions
ektebli juste 1) .. wala 2).. commentaire w to njeweb west l comment
l fichier eli baathou ghazi mafihech questions ferghin 1) 2) 3) ...
I used the nan at the Indian restaurant and the waiter brought some bread.
luv u
#3
df_rec = df_rec.dropna(subset=["recommendation"])
df_rec = df_rec.dropna(subset=df_rec.columns)
df_rec = df_rec.drop_duplicates()
print(f(df_rec))
df_rec
how to replace the value of only a particular column by the mean of that column?