dataframe-go icon indicating copy to clipboard operation
dataframe-go copied to clipboard

How to set_index with two columns?

Open sunhailin-Leo opened this issue 4 years ago • 2 comments

  • I want to use two columns to be a unique index. How can I implement it?

sunhailin-Leo avatar Apr 15 '21 03:04 sunhailin-Leo

There is no support of indexing. If you want to implement it, you will need to create the index externally (but it will then double the memory usage for the columns you want to index).

Then everytime you attempt to insert into the dataframe, you check with your external index.

pjebs avatar Apr 15 '21 03:04 pjebs

https://github.com/blugelabs/bluge

pjebs avatar Apr 24 '22 11:04 pjebs