original_docstring: 
          Returns a new Embedding with this Embedding and the given one
          stacked together. Must have the same set of fields, and a disjoint set of
          IDs.
          
docstring: Returns a new Embedding with this Embedding and the given one
  stacked together. Must have the same set of fields, and a disjoint set of
  IDs.
docstring_tokens: Returns a new Embedding with this Embedding and the given one stacked together . Must have the same set of fields and a disjoint set of IDs .
code: def concat(self, other):
          """
          Returns a new Embedding with this Embedding and the given one
          stacked together. Must have the same set of fields, and a disjoint set of
          IDs.
          """
          assert isinstance(other, NeighborOnlyEmbedding), "Cannot concatenate non-neighbor-only to neighbor-only Embedding"
          assert not (set(self.ids.tolist()) & set(other.ids.tolist())), "Cannot concatenate Embedding objects with overlapping ID values"
          assert self.has_neighbors() and other.has_neighbors(), "Both NeighborOnlyEmbedding objects must have a Neighbors"
          
          return NeighborOnlyEmbedding(self.get_neighbors().concat(other.get_neighbors()),
                                       n_neighbors=max(self.n_neighbors, other.n_neighbors),
                                       label=self.label, metric=self.metric)
code_tokens: def concat ( self , other ) : assert isinstance ( other , NeighborOnlyEmbedding ) , "Cannot concatenate non-neighbor-only to neighbor-only Embedding" assert not ( set ( self . ids . tolist ( ) ) & set ( other . ids . tolist ( ) ) ) , "Cannot concatenate Embedding objects with overlapping ID values" assert self . has_neighbors ( ) and other . has_neighbors ( ) , "Both NeighborOnlyEmbedding objects must have a Neighbors" return NeighborOnlyEmbedding ( self . get_neighbors ( ) . concat ( other . get_neighbors ( ) ) , n_neighbors = max ( self . n_neighbors , other . n_neighbors ) , label = self . label , metric = self . metric )
short_docstring: Returns a new Embedding with this Embedding and the given one
  stacked together.
short_docstring_tokens: Returns a new Embedding with this Embedding and the given one stacked together .
comment: """
          Returns a new Embedding with this Embedding and the given one
          stacked together. Must have the same set of fields, and a disjoint set of
          IDs.
          """