Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep original indexing information #5

Open
Ruibin-Liu opened this issue Mar 19, 2022 · 0 comments
Open

Keep original indexing information #5

Ruibin-Liu opened this issue Mar 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Ruibin-Liu
Copy link
Owner

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.
@Ruibin-Liu Ruibin-Liu added the enhancement New feature or request label Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant