code: def get_nn(self, structure, n):
          
  
          return [e['site'] for e in self.get_nn_info(structure, n)]
docs: Get near neighbors of site with index n in structure.
  
          Args:
              structure (Structure): input structure.
              n (integer): index of site in structure for which to determine
                      neighbors.
          Returns:
              sites (list of Site objects): near neighbors.