Skip to content

Keep original indexing information #5

@Ruibin-Liu

Description

@Ruibin-Liu

Currently, the sorted data loses the original indexing formation and at first thought it looks hard to keep the indexing information on the fly. Keeping the original indexing information can be essential in any practical usage because each data point typically represents a different object in a N-d space. Examples are atoms in molecules, planets or stars in galaxies, or locations in a map. On the contrary, it might not be important in image vectorization and volumetric data vectorization. An option/way to keep the original indexing information is needed.

Thoughts:

  1. Skip the index column in the numpy array when doing sort. Technically, this enables skipping any columns.
  2. In implementation, should also provide an option to add an index column if not already there but required to keep the information to the original data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions