Can I use the sklearn library's SimpleImputer method instead of dropna and fillna? I would like to know which is a more efficient way to fill the missing values.
@@gowthama757 both do the same thing actually, filling NaN values. Just the libraries are different(pandas vs sklearn) But, if you are building a complete project like data cleaning, data transformation and modelling everything using Sklearn pipeline then simpleimputer comes handy. So, u can use both interchangeably.
Hi mam, your playlists are awesome; please continue the data science-related series. I have one doubt. We used a label encoder for the sex column. Replace it with np.where(df['Sex']=='female', 1, 0) Or df.Sex.map({'female':1,'male':0}) This approch is fine, or we use only lable encoder?. Thanks in advance.
Hello mam now I'm goinig to finish my 12th board exams by march I'm interested in data science and i want to become a data scientist... I don't know where and how to start it? I can't have clear guidance from anyone... Could u make a clear video for to become a data scientist.? I don't know which course I want to choose which college is the best for study database.. Im asked this question for other data science creators in RUclips and i dont get any replies from them.. I hope u will help me for my carrier..
Can I use the sklearn library's SimpleImputer method instead of dropna and fillna? I would like to know which is a more efficient way to fill the missing values.
@@gowthama757 both do the same thing actually, filling NaN values. Just the libraries are different(pandas vs sklearn) But, if you are building a complete project like data cleaning, data transformation and modelling everything using Sklearn pipeline then simpleimputer comes handy. So, u can use both interchangeably.
Hi mam, your playlists are awesome; please continue the data science-related series.
I have one doubt.
We used a label encoder for the sex column.
Replace it with
np.where(df['Sex']=='female', 1, 0)
Or
df.Sex.map({'female':1,'male':0})
This approch is fine, or we use only lable encoder?.
Thanks in advance.
@@venkat_47 yes this is also fine. If we have more sub categories then this approach fails. So we need encoders.
@@ds_with_keerthi oh okay mam got it,
Thanks a lot
Hello mam now I'm goinig to finish my 12th board exams by march I'm interested in data science and i want to become a data scientist... I don't know where and how to start it? I can't have clear guidance from anyone... Could u make a clear video for to become a data scientist.? I don't know which course I want to choose which college is the best for study database.. Im asked this question for other data science creators in RUclips and i dont get any replies from them.. I hope u will help me for my carrier..
Try BE CSE or IT or AI and data science in any engineering college to become a data scientist