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

Copy matching colnames or indices to clipboard #14

Open
DesiQuintans opened this issue Jun 2, 2023 · 0 comments
Open

Copy matching colnames or indices to clipboard #14

DesiQuintans opened this issue Jun 2, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@DesiQuintans
Copy link
Owner

DesiQuintans commented Jun 2, 2023

One of the ways I've been using siftr lately is by incrementally building a query until I see all the columns I want. Once I have those, I want to be able to copy the column names or indices to my clipboard so that I can paste them into my script. I think it would be useful to have a workflow like:

sift(df, my, final, query)

# results...

pile_names(.Last.value)  # Should return .Last.value and copy colnames to clipboard as a side-effect

# Since .Last.value is returned, I can still grab the column numbers if I change my mind:
pile_nums(.Last.value)  # Should return .Last.value and copy column numbers to clipboard as a side-effect

The assumption of this workflow is that I keep submitting sift queries, and then if I like the results, I immediately copy them to the clipboard using .Last.value. I might have to append a class to the dictionary dataframe so that I can check if .Last.value is a sift() result.

@DesiQuintans DesiQuintans added enhancement New feature or request question Further information is requested labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant