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