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

.names parameter for pack/unpack #1590

Open
vorpalvorpal opened this issue Feb 18, 2025 · 0 comments
Open

.names parameter for pack/unpack #1590

vorpalvorpal opened this issue Feb 18, 2025 · 0 comments

Comments

@vorpalvorpal
Copy link

Currently pack/unpack have a .name_sep argument that packs/unpacks names as <Outer><sep><Inner>. I am working with a data set where the names are <Inner><sep><Outer>. There is no easy way of dealing with this set up. The .names parameter used by across deals with this easily by having a glue specification with {.col} being used as a mask. It seems like something similar would be simple to achieve for pack/unpack where .names would have masks for {.inner} and {outer}, perhaps with a default of "{.outer}.{.inner}".

If this is something you would consider, I can try to put together a PR.

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

1 participant