Pandas Fill Na With Value From Another Column Code Example

Snippet 1

  df['Cat1'].fillna(df['Cat2']) 

Copyright © Code Fetcher 2020

 

 

Leave a comment

Your email address will not be published. Required fields are marked *