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)
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) ..
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
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..
Thanks brother.
The video was amazing, it cleared all my doubts.
Rise and shine🎉
You, sir, are amazing and a savior to my project 🙏
geeksforgeeks never disappoints, thanks for this!
Thank you. The class, for me, was very insightful and rewarding. Worth my time.
Hi. very easy tutorial bro. As very beginner on python I can get it easy. Salute
Very nice and helpful lesson. Thanks for sharing. 🎉🎉🎉
Bhut acha conceptual content hai yrr. It's really awesome!!!
Clear explanation and easy to understand. Thank you!
Thank you .very nice and clear explanation .Easy for everyone to understand.thank you sir .
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
Thanks for the clarification , helped in clear a problem I was stuck in
One of the best explanations!! kudos
so at 21:50 limit direction = 'forward" does work similar to method = 'pad"?
Great resource for EDA ☺☺
Woooo!! Súper easy explained!!
Thank you it is wonderful explanation. You answered my question perfectly.
Informative, can you please also make a video telling how to handle null values using ML algorithms ?
thanks for the informative video..🙏
really nice
session
Thanks so much, this was really well explained and helpful.
Great content..Exactly what I have been looking for... Thanks
Great content, thank you so much.
It was help ful, thanks bro
well explained. Can you make a video to fill in Na values by generating random numbers around the mean?
Very nice explanation 👍
very very clear thank you so much for this fantastic video...
clear explanation. Thanks
Thanks! You help me in my project ❤
this is so good and easy to understand thank you
Clear explain ❤️
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?
Thank you, very clear and nice tutorial......
Nice one Mate!!!!
good presentation and nice knowledge
when should we drop a row?, i'm always fill the values with mean, median, mode etc, because rest of the columns seems importand.
How would you fill empty values (NaN or NA) in a list or dataframe with the last known good value?
thank you the explanation is clear and helpful
thank you ; very good explanation
We have to take care of data types also before filling with any value
Good job... keep up good work
this is brilliant thanks
thanks so much on this video ❤
How to fillna using interpolate method in the some column in once time?
thank you for this video
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.
Clean. Thanks!
Great content
thnx it is a good explanation
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
Sir, Let us the above as same example, now i need to save the dataset(after handiling the missing value) as csv file
Super class
#2
f = lambda df=df_rec: df.isna().sum(axis=0)
result = f(df_rec)
print(result)
how about fill the null value if the datasets is categkrical
can we have a mean value for pad or bill
Thank you so much!
Thanks Dude!
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)
Thank you, your explanations are very clear! How can I follow more courses by Akshit Madan?
It was truly great
thanks
I'm sorry Mr, can you make tutorial handling missing values with interpolasi linier method?
Find the number of rows with missing values means
Can I use df.isnull().sum().sum() in Python ?
Can anyone , please answer me ?
Thanks
#1
df_rec = pd.read_csv("recommendation.csv")
print(df_rec)
print(df_rec.dtypes)
what if the missing values are defined by "-"
Filling and replacing is same i think?
Bro hw remove the $ symbol in column
👏
for i in range(108):
print("Thank you")
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) ..
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
print"(Thanks for showing so many methods")
luv u
I used the nan at the Indian restaurant and the waiter brought some bread.
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) ...
#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?