pandas fill na of a column if another column of same row has a value code example Example: pandas fill na with value from another column df['Cat1'].fillna(df['Cat2'])