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

How to set_index with two columns? #55

Open
sunhailin-Leo opened this issue Apr 15, 2021 · 2 comments
Open

How to set_index with two columns? #55

sunhailin-Leo opened this issue Apr 15, 2021 · 2 comments

Comments

@sunhailin-Leo
Copy link

  • I want to use two columns to be a unique index. How can I implement it?
@pjebs
Copy link
Collaborator

pjebs commented Apr 15, 2021

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
Copy link
Collaborator

pjebs commented Apr 24, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants