code: def find_following_duplicates(array):
      
      array = array[:]
  
  
      uniques = []
      for i in range(len(array)):
          if i == 0:
              uniques.append(True)
          else:
              if array[i] == array[i-1]:
                  uniques.append(False)
              else:
                  uniques.append(True)
  
      return(uniques)
docs: Find the duplicates that are following themselves.
  
      Parameters
      ----------
      array :  list or ndarray
          A list containing duplicates.
  
      Returns
      ----------
      uniques : list
          A list containing True for each unique and False for following duplicates.
  
      Example
      ----------
      >>> import neurokit as nk
      >>> mylist = ["a","a","b","a","a","a","c","c","b","b"]
      >>> uniques = nk.find_following_duplicates(mylist)
      >>> indices = np.where(uniques)  # Find indices of uniques
  
      Notes
      ----------
      *Authors*
  
      - `Dominique Makowski <https://dominiquemakowski.github.io/>`_
  
      *Dependencies*
  
      - numpy