How to Replace Values of Dataframes | Replace, Where, Mask, Update and More

How to Replace Values of Dataframes | Replace, Where, Mask, Update and More

34.697 Lượt nghe
How to Replace Values of Dataframes | Replace, Where, Mask, Update and More
While cleaning up outliers, filling in missing values, or just doing some data maintenance we need to update the values in our Pandas dataframe. Sometimes you select a subset of the original dataframe, and sometimes it needs to be pinpointed with an index value. So in this video, I show you every way I know how to replace and/or modify values in your pandas dataframes. Get the code here: https://github.com/misraturp/Pandas-dataframes-replace-modify Find missing values in data with Pandas | Beginner tutorial - https://youtu.be/p51jngaf0g4 Pandas functions: Apply vs. Map vs. Applymap - https://youtu.be/Emd4oXErshw 00:00 Introduction 00:29 "fillna" 01:46 "replace" 03:09 "loc" and "at" 05:59 "np.where" 07:25 "mask" 08:30 "cut" 09:35 "update" 10:32 apply, map and applymap 10:54 Grab your Pandas Cheat Sheet! 👋 Keep in touch? ========================== 🐥 Twitter - https://twitter.com/misraturp 🔗 LinkedIn - https://linkedin.com/in/misraturp/ 📹 YouTube - https://youtube.com/@misraturp 🌎 Website - https://misraturp.com/ Courses & resources ============================ 📙 Fundamentals of Deep Learning in 25 pages https://misraturp.gumroad.com/l/fdl 👩‍💻 Hands-on Data Science: Complete your first portfolio project https://www.misraturp.com/hods 📥 Streamlit template https://misraturp.gumroad.com/l/stemp 🤖 Deep Learning 101 with Python and Keras (FREE) https://youtube.com/playlist?list=PLM8lYG2MzHmQn55ii0duXdO9QSoDF5myF 🏃‍♀️ Data Science Kick-starter mini-course (FREE) https://misraturp.gumroad.com/l/kick-starter 🐼 Pandas cheat sheet (FREE) https://misraturp.gumroad.com/l/pandascs 📝 NNs hyperparameters cheat sheet (FREE) https://misraturp.gumroad.com/l/hcs