original_docstring: 
          Creates a NeighborOnlyEmbedding that mocks an existing embedding, but
          contains only its neighbor set with no positions or color data.
          
docstring: Creates a NeighborOnlyEmbedding that mocks an existing embedding, but
  contains only its neighbor set with no positions or color data.
docstring_tokens: Creates a NeighborOnlyEmbedding that mocks an existing embedding but contains only its neighbor set with no positions or color data .
code: def from_embedding(emb):
          """
          Creates a NeighborOnlyEmbedding that mocks an existing embedding, but
          contains only its neighbor set with no positions or color data.
          """
          return NeighborOnlyEmbedding(emb.get_neighbors(),
                                       metric=emb.metric,
                                       n_neighbors=emb.n_neighbors)
code_tokens: def from_embedding ( emb ) : return NeighborOnlyEmbedding ( emb . get_neighbors ( ) , metric = emb . metric , n_neighbors = emb . n_neighbors )
short_docstring: Creates a NeighborOnlyEmbedding that mocks an existing embedding, but
  contains only its neighbor set with no positions or color data.
short_docstring_tokens: Creates a NeighborOnlyEmbedding that mocks an existing embedding but contains only its neighbor set with no positions or color data .
comment: """
          Creates a NeighborOnlyEmbedding that mocks an existing embedding, but
          contains only its neighbor set with no positions or color data.
          """