spacepaste

  1.  
  2. df['other'] = np.where((df["k1 [1]"].isnull() & df["k1 [2]"].isnull() & df["k1 [3]"].isnull() & df["k1 [4]"].isnull() & df["k1 [5]"].isnull()) == True, 0, 1)
  3.