null handling by replacing with column value in another dataframe
HTML-код
- Опубликовано: 18 окт 2024
- This is extension to the first video that explains how to handle nulls in the dataframe.
null handling first video - studio.youtube...
Joins - studio.youtube...
Thank you for the video. How I can create a function based on this example ? For example I have 100 columns in DataFrame1 and 100 columns in DataFrame2 now I want to replace null values in DataFrame1 with DataFrame2.
Note: Both DataFrame1 and DataFrame2 have same column names. Thanks in advance!!
are you thinking to create function that accepts the columns as parameter and then replace the values?
Simply superb explanation 👌 👏
I have a situation where I need to exchange the column values between two data frames based on some criteria. I have a code ready for that as well using replace () but it is not working in few scenarios.
Can you please help. I can email you my code and data frame details
sorry missed your message. can you please paste your code here