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

  Рет қаралды 32,539

Mısra Turp

Mısra Turp

Күн бұрын

Пікірлер: 66
@misraturp
@misraturp Жыл бұрын
👉 All you need to know about Pandas in one place! Download my Pandas Cheat Sheet (free) misraturp.gumroad.com/l/pandascs
@himanshupandey9902
@himanshupandey9902 2 жыл бұрын
Hey, again. You really make things simpler, so that a laymen also can understand.
@misraturp
@misraturp 2 жыл бұрын
Amazing to hear!
@maxinechantel8361
@maxinechantel8361 2 жыл бұрын
Hi Misra, thank you for your videos they are helping me to learn Pandas. You explain so simple and it is really encouraging.
@misraturp
@misraturp 2 жыл бұрын
That's amazing to hear, thank you Maxine!
@message59
@message59 Жыл бұрын
hands down your videos are the best ressources I found to these kind of topics thanks a lot for making these videos✌🏻😁
@barspinoza
@barspinoza 2 жыл бұрын
Thanks!
@misraturp
@misraturp 2 жыл бұрын
You're very welcome!
@saheedoyewole9424
@saheedoyewole9424 Жыл бұрын
Thanks a lot Misra, you're doing a wonderful job.
@misraturp
@misraturp Жыл бұрын
Thank you!
@ArnauViaM
@ArnauViaM 2 жыл бұрын
pandas cut seems extremely useful! Thanks
@misraturp
@misraturp 2 жыл бұрын
I know right! You're welcome.
@e.t.499
@e.t.499 2 жыл бұрын
Hey Misra, can you make a video about deciding under which conditions we should use normalization or standardization?
@misraturp
@misraturp 2 жыл бұрын
Great suggestion!
@bay-bicerdover
@bay-bicerdover Жыл бұрын
take that as a no
@chastippett
@chastippett Жыл бұрын
super helpful. have never seen the pd.cut function - Thank you
@misraturp
@misraturp Жыл бұрын
You're very welcome!
@avonstar8893
@avonstar8893 2 жыл бұрын
Very helpful Misra. Thank you.
@misraturp
@misraturp 2 жыл бұрын
Great to hear :)
@muriloambrozio7563
@muriloambrozio7563 Жыл бұрын
Could I use a list in the loc. Method?
@durgav8122
@durgav8122 Жыл бұрын
Hai Mam....Can you please come with the videos for SQL in data Analytics.....?
@birsenbas1009
@birsenbas1009 Жыл бұрын
Hi Mısra, you're really have great explanations. I have learned a lot of and useful things even a few days. I am really excited to continue listening your videos aas a new data scientist candidate. Also you make me very motivated. Thanks a lot again!
@misraturp
@misraturp Жыл бұрын
That's great to hear Birsen! Happy to hear you like the videos and that they motivate you.
@burakceylan.92
@burakceylan.92 2 жыл бұрын
Crystal clear speak and to the point infos. Thank you
@misraturp
@misraturp 2 жыл бұрын
You're very welcome!
@sakhachowdhury5266
@sakhachowdhury5266 6 ай бұрын
Can we use any function to replace a data.like normally we replace a data with tha mean of that column.is there any other method instead of mean.
@PrashantVidyarthi-v5l
@PrashantVidyarthi-v5l 9 ай бұрын
Hi Misra, If we have a column where we are having a message which is returned from the device, so from this message how can we create a new column by taking keyword from the existing column and display the status of it in the new column by using python?
@mjacfardk
@mjacfardk 2 жыл бұрын
Thank you Pls video of pd.cut and filling/imputing missing values
@misraturp
@misraturp 2 жыл бұрын
Yes, working on that one now! Thank you for the suggestion!
@curtisjackson3377
@curtisjackson3377 2 жыл бұрын
Hey MIsra, thanks for another simple to understand video. Can you possibly make a similar thread on pandas dataframe Join/Merge? That would be great help. Thanks again. Cheers 🍻
@Kidpambi
@Kidpambi 2 жыл бұрын
This would be very helpful 🎉
@misraturp
@misraturp 2 жыл бұрын
Hey Curtis, you're very welcome. :) I actually have that video already: kzbin.info/www/bejne/bWmbfHuIeqmVjpo
@Asma-ir8rr
@Asma-ir8rr 11 ай бұрын
I like your explanation 👌🏻♥️
@vrbaac1641
@vrbaac1641 2 жыл бұрын
Hi, Thank you for this video... it is very clear and easy to follow... I also want to ask... In case of a data frame having negative numbers, is it possible to replace these negative numbers by its corresponding absolute value, using the same routine in the video? thank you ^^
@misraturp
@misraturp 2 жыл бұрын
I don't know this off the top of my head but I'm sure there is a quick way to achieve this using Pandas :)
@isha4350
@isha4350 7 ай бұрын
Informative video .
@SlimPit
@SlimPit Жыл бұрын
Hi, i have a question that i dont know. I need to change a specific value in a specific line in my Dataframe. Example in your Dataframe in Column "Job ID" in the line (1), i want to change the value 379094 to another value, how can i do this? I tried to loc but not worked. Can someone help please, thank you. Sorry for the english, im brazilian.
@bay-bicerdover
@bay-bicerdover Жыл бұрын
watch the vid
@kennethstephani692
@kennethstephani692 Жыл бұрын
Terrific Video!!
@misraturp
@misraturp Жыл бұрын
Thank you!
@barisbulut7193
@barisbulut7193 2 жыл бұрын
selam, thanks for the info. i have a probem in changing characters within the cells. in my dataframe, some of values are for instance: 12.4 and some of them are 12,4, meaning some are seperated with comma, and some are seperated with dot. how can i change all the dots with commas without changing the values. thanks
@bay-bicerdover
@bay-bicerdover Жыл бұрын
watch the vid
@tonywillingham8109
@tonywillingham8109 Жыл бұрын
How does one download the chest sheet? It is unclear.
@misraturp
@misraturp Жыл бұрын
Here is the link: misraturp.gumroad.com/l/pandascs
@marcelocarvalho4510
@marcelocarvalho4510 Жыл бұрын
Hello, I loved your video! I would like to ask a question. In this case, the intent would be data cleaning where I have a dataframe where all the information in the "data" column has characters that shouldn't be there, for example: '01012023TT00'. I would like to remove these "TT00" characters. How should I do? I'm doing it this way, but it doesn't update the dataframe.: import pandas as pd import numpy as np df = pd.read_csv('/content/HRDataset_v14.csv') df.head() df['Employee_Name'].str.replace('Anderson, Carol','Anderson') df ################ If we put the df = df['Employee_Name'].str.replace('Anderson, Carol','Anderson') It will update, but not in the dataframe.
@bay-bicerdover
@bay-bicerdover Жыл бұрын
watch the vid
@reledata8035
@reledata8035 Жыл бұрын
thank you Misra
@vashisht1
@vashisht1 8 ай бұрын
When didn't you use replace like this data[ 'Agency'].replace( { dict}) Inside dictionary I will give all the old values as key and new values a pair ..
@syedaneesdurez8766
@syedaneesdurez8766 Ай бұрын
Excellent
@mehdismaeili3743
@mehdismaeili3743 2 жыл бұрын
Excellent, thanks.
@misraturp
@misraturp 2 жыл бұрын
You're welcome!
@graceblomqvist5378
@graceblomqvist5378 Жыл бұрын
Very very good! thx!
@misraturp
@misraturp Жыл бұрын
Glad you like it!
@sachintyagi2003
@sachintyagi2003 4 ай бұрын
nice explain
@learnwithgandalf
@learnwithgandalf 2 жыл бұрын
cool mam
@Krishnapatil1996
@Krishnapatil1996 2 жыл бұрын
as compared to data cleansing .... till the end video, I just see you ...
@comment8767
@comment8767 8 ай бұрын
Misra is too distracting .... makes it difficult to concentrate on the code...
@myselfandpesit
@myselfandpesit Жыл бұрын
Too many ways to do it makes it quite confusing for me
@bay-bicerdover
@bay-bicerdover Жыл бұрын
themore thebetter
@arvinstatistics
@arvinstatistics 6 ай бұрын
You are so pretty and smart.
@MikeDev-Sooworr
@MikeDev-Sooworr 20 күн бұрын
I'm sorry, but it's very difficult to listen to SUCH an amazingly beautiful girl! (( I only lasted one minute... But of course I gave it the like.
@ROBINTHOMASRajagiri
@ROBINTHOMASRajagiri Жыл бұрын
aww
@GregThatcher
@GregThatcher 7 ай бұрын
Thanks!
Pandas Functions: Apply vs. Map vs. Applymap
11:53
Mısra Turp
Рет қаралды 28 М.
How to Reshape Dataframes | Pivot, Stack, Melt and More
12:49
Mısra Turp
Рет қаралды 27 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 278 М.
Handling Missing Values in Pandas Dataframe | GeeksforGeeks
22:17
GeeksforGeeks
Рет қаралды 137 М.
Using Data Visualization to Identify Data Problems
12:27
Mısra Turp
Рет қаралды 3,1 М.
My top 25 pandas tricks
27:38
Data School
Рет қаралды 271 М.
Make Your Pandas Code Lightning Fast
10:38
Rob Mulla
Рет қаралды 188 М.
Pandas Functions: Three Ways to Use the Apply Function
12:11
Mısra Turp
Рет қаралды 21 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН