Data Cleaning Tutorial | Cleaning Data With Python and Pandas

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 136

  • @anmol_seth_xx
    @anmol_seth_xx 2 года назад +27

    First of all thanks to you,
    I learned ffill, bfill and interpolate functions from here.
    But it's recommended from many professionals that missing values should be imputed with mean, median & mode.

  • @kaustubhjain7066
    @kaustubhjain7066 3 года назад +26

    the chill moment when he codes and sips up coffee, cool man great work !!!

  • @kurosaki2510
    @kurosaki2510 2 года назад +17

    Could you make a tutorial on Big Data as well, for situations with e.g. 500k rows and 200 columns where you don't see all of your data and don't know what kinds of Nan values to expect and therefore can't name them textually? Big thanks in advance :)

    • @oktafajarandrian7352
      @oktafajarandrian7352 2 года назад

      Up

    • @Alexander-ms2ct
      @Alexander-ms2ct Год назад +2

      It’s a **kwark called “chunksize=“ the integer passed to it is the amount per chunk. So if you select 1000 and have a df of 500k. It would load 500 times. In pieces

  • @YOGIT_Singh
    @YOGIT_Singh 2 года назад +3

    Bro, you are Doing such great work..
    The way you are explaining things is excellent and easy to understand.
    Kudos to you .

  • @alishalbayev264
    @alishalbayev264 3 года назад +5

    I just started watching but I see that you are really good man, thanks

  • @sheetalurankar4660
    @sheetalurankar4660 4 года назад +6

    Explain the more concepts like standardizing, matching, consolidation so we get all idea about data cleaning.

  • @kdausu90
    @kdausu90 3 года назад +2

    This guy is chill af

  • @Young-Prof
    @Young-Prof 3 месяца назад

    This is amazing. I learned a lot. I want to come to India to study Data Analytics

  • @ravitejapavuluri945
    @ravitejapavuluri945 3 года назад +5

    You said everything but but missed the one I am waiting for is filling NaN with mean or media values.

  • @sifar1857
    @sifar1857 2 года назад

    Great tutorial! No need to hesitate on referring to the code snippets btw… I don’t think any sane person watching this has the expectation for you to memorise a to z what you want to articulate…

  • @rommel23nb
    @rommel23nb 2 месяца назад

    Thanks Mr. Shah--- I used these commands to prepare a cheat sheet for data cleaning--- regards

  • @sayantikabiswas8739
    @sayantikabiswas8739 Год назад +2

    thanks for teaching ffill, bfill, interpolate and fillna ...it was a great session

  • @minapatil185
    @minapatil185 14 дней назад

    New learned null values like nan, na Nan something new thought us. Thank u...

  • @sammy0722
    @sammy0722 4 года назад +2

    Nice way of explaining. One request, do make one video on Outlier removal.
    Thanks.

    • @SoumilShah
      @SoumilShah  4 года назад +1

      you got it !! will add on my to do List

  • @thewhiskybottle4641
    @thewhiskybottle4641 Год назад

    Take the ads off please, thanks, great tutorial by the way.

  • @RavikaUniverse.
    @RavikaUniverse. 11 месяцев назад

    awesome ,good and precise data cleaning
    please load some more stuff related to pandas

  • @harshvardhansahay3864
    @harshvardhansahay3864 Год назад

    This video has really me understand the data cleaning process. Thanks Man.

  • @slayergaming1852
    @slayergaming1852 Год назад +1

    This video really helped me a lot, but I still got more to understand. I've zero basic knowledge on this. I'm working on a thesis which needs some coding to complete. I've few questions to what you've explained in this video;
    1. What if there are lot of dataset and how do you define the missing value for each?
    2. What was that in the missing value you defined "np.nan" ?
    As I said earlier, I'm working on a project which is about human-in-the-loop code. Initially I'll be given the dataset and have to figure out a code to include human for feedback from system (Reinforcement Learning). I would like get your response, and if possible any helpful idea or suggestions on the project mentioned above.
    Thank you

    • @debanjangg
      @debanjangg Год назад +1

      1. You can use separate lists (with diff variable names,) or a single list as a master list for all the datasets. Depends on the said datasets and the data they contain.
      2. np.nan is the "NaN" value in the dataset, which means Not a Number. So basically the np.nan returns a float object whose value is NaN.
      Hope this helps.

    • @slayergaming1852
      @slayergaming1852 Год назад +1

      @@debanjangg That was helpful. Thanks mate!🤩

    • @luckycreative7418
      @luckycreative7418 11 месяцев назад

      1) u can also use unique function to get only unique values
      Example
      df['Customers'].unique
      in the example above u will get all the unique values in the column 'Customers'

  • @poojakumarirollno9880
    @poojakumarirollno9880 11 месяцев назад

    Great job sir . Thank you so much for great explaining . Can u make more videos on data analytics

  • @aliaitazaz7040
    @aliaitazaz7040 3 месяца назад

    Learnt something new, THANK YOU!

  • @kousumichaudhuri3793
    @kousumichaudhuri3793 Год назад

    Thanks a lot bro. The way you explained the steps are really helpful.

  • @shyamkumar-fh2fh
    @shyamkumar-fh2fh 4 года назад +3

    Can u tell about yourself... The company u are working and can u give some tips to get a job in data science field as a fresher

  • @littlecreator4838
    @littlecreator4838 2 года назад +1

    Hi,very nice explanation. I am totally new to python. Can you pls make a tutorial on how to install jupyter and all the other required libraries to perform forecasting.

  • @spyder5204
    @spyder5204 2 года назад

    Good and nice explaination

  • @ogunoyeadebamigbe1715
    @ogunoyeadebamigbe1715 Год назад

    Good job

  • @santhoshbharath2910
    @santhoshbharath2910 2 года назад

    hats off to you man, you really made my day, you gave me a good confidence today, once again thankyou so much sir

  • @user-zu7wc4xr2m
    @user-zu7wc4xr2m Год назад

    essentially you explained it very well

  • @hamdansiddiqui3294
    @hamdansiddiqui3294 2 года назад

    Great video very helpful

  • @RaviPrakash-ml8qb
    @RaviPrakash-ml8qb Год назад

    Very useful video keep it up champ

  • @harrymary100
    @harrymary100 3 года назад

    Nice tutorial keep it up

  • @laibakhan1835
    @laibakhan1835 Год назад

    Great job well done n thanx a lot ...I explained v well

  • @ganeshkumarpatel
    @ganeshkumarpatel 4 года назад +2

    Please explain to fiilna or replace zero with mean value by groupby... Means you have 3 groups in data frame and you want to fillna with respective to group mean

  • @michaelchapisa3709
    @michaelchapisa3709 Месяц назад

    I got lost at the very beginning, from the "print(os.listdir())" what i got as my output is very different from what you got

  • @crazystuff5854
    @crazystuff5854 3 года назад

    Superb broo Rock on

  • @ShresthBhakta
    @ShresthBhakta Год назад

    Thanks Soumil, really helpful !!

  • @alaberedaisy8171
    @alaberedaisy8171 5 месяцев назад

    Thank you so much. This was really helpful

  • @machinelearning1357
    @machinelearning1357 Год назад

    really great

  • @angshumanbardhan3729
    @angshumanbardhan3729 4 года назад +1

    Thank you for making this video.

  • @jaiprakashlic484
    @jaiprakashlic484 Год назад +1

    BRO YOU SHOULD HAVE UPLOADED CSV FILE AS WELL.

  • @enricomendiola9952
    @enricomendiola9952 Год назад

    This is a great video😊

  • @rinkubaria3900
    @rinkubaria3900 Год назад

    So helpful 👌

  • @balatechtvm1438
    @balatechtvm1438 Год назад

    Thank you sir. I'm very satisfied

  • @laithdarras6389
    @laithdarras6389 Год назад

    Very helpful

  • @akashme-ek3vc
    @akashme-ek3vc 2 года назад

    please donot stop uploading such videos

  • @minhaaj
    @minhaaj 4 года назад

    good job

  • @samimerk5313
    @samimerk5313 2 года назад

    Thank you for thr explanation!

  • @AyaanKhan-rh5vx
    @AyaanKhan-rh5vx 2 месяца назад

    I have a csv file and when i am using concat function it automatically name unnamed group 1,2,3... Also the alignment gets messy with songle line of code
    How to fix it

  • @kelikisbiyantoro2518
    @kelikisbiyantoro2518 3 года назад

    thankyou very much soumilshah, its help for me

  • @gideonopoku-gyamfi1114
    @gideonopoku-gyamfi1114 Год назад

    So please which do you think is more efficient to be used without changing the accuracy of the data

  • @eshaal2525
    @eshaal2525 Год назад +1

    Hi...I have na values but tha boxplot is even not showing it null...

  • @sudeepjayaprakash9224
    @sudeepjayaprakash9224 Год назад

    Thank you sir helped me a lot

  • @kamalkantmahour9641
    @kamalkantmahour9641 4 года назад +1

    Sir, please tell me the book from where I can learn all these concepts and programming skills required for this.

  • @Nitswits007
    @Nitswits007 4 года назад +1

    Would you be able to provide mentorship. I have started learning DS . Want to keep moving in a direction .jyst don't stop due to coding lag.

  • @Lejhand10
    @Lejhand10 4 года назад

    well explained .

  • @mohammedkaifmirza7585
    @mohammedkaifmirza7585 2 года назад

    overall good tutorial, the only thing that is missing is source code (jupyter notebook)

  • @rakshansadhu2073
    @rakshansadhu2073 3 года назад

    Loved it man

  • @Ayanshedipelly2312
    @Ayanshedipelly2312 2 месяца назад

    How to do interpolation for categorical variable

  • @world52love
    @world52love Месяц назад

    how to handle zero values in csv file and how to fill those values

  • @rashigupta5611
    @rashigupta5611 2 года назад

    How to get how many type different type of value is there to put in na_values? I mean to say the value you have mentioned for missing_value.. how you are getting that.. we cant check the file if that has huge data

  • @thekras177
    @thekras177 Год назад

    I refer to using mean but thank you it was helpful

  • @leticiavillatima1844
    @leticiavillatima1844 3 месяца назад

    AttributeError Traceback (most recent call last)
    Cell In[7], line 1
    ----> 1 pd_cleaned = pd.dropna()
    AttributeError: module 'pandas' has no attribute 'dropna
    i can't find drop na

  • @GracefulTalesPluto
    @GracefulTalesPluto 10 месяцев назад

    what is the use of ffill? Isn't it data corruption? filling nulls with values from above rows

  • @SONALIKUMARI-is9jc
    @SONALIKUMARI-is9jc 4 года назад +1

    What if the file is not there on which we want to work?

  • @nazeer9933
    @nazeer9933 Год назад

    The dataset which you have is having fewer instances
    what if we have thousands of rows of data how to find Nan, and Na there in the dataset ...?
    if you see this please respond ASAP

  • @abhinavsingh4208
    @abhinavsingh4208 3 года назад

    Thanks for this video !

  • @kunalkishore5260
    @kunalkishore5260 2 года назад

    what to mention in na_values if we dont know the missing vlaues or there are hundreds of different missing values

  • @sonalikoli384
    @sonalikoli384 Год назад

    i have question i wrote print(os.listdir()). but i got many files that is inside my jupyter. may i know how can i import my csv file that i have clean.

  • @Goal_Huntter_16
    @Goal_Huntter_16 Год назад

    I have to say. "Very Helpful". or print("very helpful") 😂😂

  • @greeshmatejamyna
    @greeshmatejamyna Год назад

    i can use excel for it right ? my work will be more easy kindly persuade me y i have to use python instead of excel here

  • @comptegmail273
    @comptegmail273 2 года назад +1

    Hello sir, thank you so much for the tutorial. I'm actually stuck since my source in a CSV file. Except that sadly the file I'm working is extremely complex with indefinete columns since my main columns are repeated everyday based on the date. I've been stuck on this problem since over a week. Is there a way I could reach out to you and have your mail to maybe help solve this problem? Thanks a lot in advance.

  • @rohitsanam8829
    @rohitsanam8829 4 года назад

    Please make a video outlier treatment and detection

  • @srujangowda8490
    @srujangowda8490 3 года назад

    5:09 OP

  • @jayakhanal1720
    @jayakhanal1720 3 года назад

    how to cleaning data that is TZAN dataset from kaggle for,music genre classification using cnn?

  • @user-iu2ph6ws8i
    @user-iu2ph6ws8i Год назад

    Hii Soumil, right now I'm working on language translation project for that I have collected the data, but I'm facing preprocessing data could you please help me with that.

  • @husnarazool9866
    @husnarazool9866 3 года назад +1

    How to save the dataset after cleaning process in python?

  • @aditi4677
    @aditi4677 3 года назад +1

    This was really useful. Thankyou!

  • @sabbirahmmed7161
    @sabbirahmmed7161 2 года назад

    Thanks a lot ❤️

  • @deutschvalley3574
    @deutschvalley3574 3 года назад

    How i can handle float values 2.o or 0.04576 kindly let me i am doing a research using a big datasets

  • @bloom6874
    @bloom6874 Год назад

    here values in missing_values list are case-sensitive or case-insensitive?

  • @vandanasharma.sharma33
    @vandanasharma.sharma33 4 года назад +1

    Can't we add any value to these NaN?

  • @bhawitbalodi4324
    @bhawitbalodi4324 2 года назад

    Pls can you tell me that from where you bought that LAPTOP stand? Pls attach link in comment

  • @NaveenKumarsoma
    @NaveenKumarsoma 4 года назад +1

    why you have used np.nan in the mission_values?

  • @enricomendiola9952
    @enricomendiola9952 Год назад

    Hello can you include in this video in cleaning special characters using pandas regular expression?

  • @alinajaved2165
    @alinajaved2165 2 года назад

    I need your help please please...how it work in automatically cleaning data?

  • @harshalkshirsagar7618
    @harshalkshirsagar7618 Год назад

    yo thanks a lot

  • @IndianHacker-hisBest
    @IndianHacker-hisBest Год назад

    bro, could you please share the dataset in the description ?

  • @ehteshamali2893
    @ehteshamali2893 3 года назад

    interpolation is basically like average? right?

  • @ranamahrous7814
    @ranamahrous7814 3 года назад

    i want messy dataset for practicing do u know where can i find one? or do u have one ?

  • @shilpachowdhury8860
    @shilpachowdhury8860 2 года назад

    Sir, by running the data cleaning code in jupyter notebook by following the same code instruction given by u, when i run the code in the output it is not showing unnamed:0 temperature humidity & in my jupyter system it is showing such as v1 &v2 in the output.Why it is so?can u plz explain.

    • @deepthi5970
      @deepthi5970 Год назад

      I also faced the same problem. When we creating
      a new csv file there is no unnamed 0 : column... But if we saved the same file as csv into a folder it will create a new column lke unnamed 0:
      If we read this data the output will be like in this video.. If repeated each time one extra column will add. For avoiding use index= False while saving a code. It will work

  • @marouaneyoussfi3560
    @marouaneyoussfi3560 4 года назад

    thank you

  • @sunilkhandale9232
    @sunilkhandale9232 3 года назад

    I want to replace 4wd with fwd in particular column please help

  • @mahidhar9787
    @mahidhar9787 4 года назад

    how can we replace using mean, median & mode

  • @siddheshbhalerao3152
    @siddheshbhalerao3152 Год назад

    sir, facing a issue in a code to convert the variable from object to integer in jupyter notebook:- it shows the error:-invalid literal for int() with base 10: '-'

    • @bloom6874
      @bloom6874 Год назад

      you can typecast object into int

  • @kyleevalencia1827
    @kyleevalencia1827 3 года назад

    Sir, i'm still new in python and this data cleaning thing. And i want to ask what is 11 in df11 ?? is it some kind of function ?? and i also don't understand the snippet concept

    • @kashyapsantoki4889
      @kashyapsantoki4889 3 года назад +1

      df11 is just variable you can take anything df11a,df12 df15 anything and snippet is basically a piece of code which he already have

  • @darshan7673
    @darshan7673 3 года назад

    from where i can download this dataset can anyone provide me link

  • @kiranpawar8798
    @kiranpawar8798 6 месяцев назад

    What is noisy data

  • @shafiqahmed1976
    @shafiqahmed1976 3 года назад

    data.fillna({"P11,":NEGATIVE}) NameError: name 'NEGATIVE' is not defined
    ?? Please help me ?what can I can do??

  • @aiswaryacd7419
    @aiswaryacd7419 2 года назад

    How install Android phone Jupiter notebook

  • @ehteshamali2893
    @ehteshamali2893 3 года назад

    Brother Great video. I need the tea as well. ;)

  • @user-bk3cp4uf8v
    @user-bk3cp4uf8v 2 года назад

    G real time project need and submitt to clien,