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