Python Pandas Tutorial 6. Handle Missing Data: replace function

Publié le: 26 février 2017
sur la chaîne: codebasics
243,806
4.8k

This pandas tutorial covers how dataframe.replace method can be used to replace specific values with some other values. It supports replacement using single value, a list, a regular expression and a dictionary. Often times you get data in one form and want to transform data into some other form as far as values are concerned. At this time replace method can be used to perform transformation.

Topics that are covered in this Python Pandas Video:
0:00 How to use replace method to deal with missing data?
0:21 How to handle special values in data?
1:41 Use replace() method to replace values in dataframe
5:58 Replace values using a dictionary
8:06 How "regex" (regular expression) works
10:05 Replace data with "regex" using a dictionary
10:55 Replace the list of values with another list of values

Code: https://github.com/codebasics/py/tree...

Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses.

Next Video:
Python Pandas Tutorial 7. Group By (Split Apply Combine):    • Python Pandas Tutorial 7. Group By (Split ...  

Popular Playlist:
Complete python course:    • Python 3 Programming Tutorials for Beginners  

Data science course:    • Data Science Full Course For Beginners | P...  

Machine learning tutorials:    • Machine Learning Tutorial Python | Machine...  

Pandas tutorials:    • Pandas Tutorial (Data Analysis In Python)  

Git github tutorials:    • Git/Github Tutorial  

Matplotlib course:    • Matplotlib tutorial  

Data structures course:    • Data Structures And Algorithms In Python  

Data Science Project - Real Estate Price Prediction:    • Machine Learning & Data Science Project - ...  


To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

Website: https://codebasics.io/
Facebook:   / codebasicshub  
Twitter:   / codebasicshub  


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Pandas Tutorial 6. Handle Missing Data: replace function durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur codebasics 26 février 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 243,806 fois et il a aimé 4.8 mille téléspectateurs. Bon visionnage!