Skip to content

Add value stacking capability #653

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

Open
tylerriccio33 opened this issue Mar 28, 2025 · 0 comments
Open

Add value stacking capability #653

tylerriccio33 opened this issue Mar 28, 2025 · 0 comments

Comments

@tylerriccio33
Copy link
Contributor

nw.concat_str(nw.col("n_unique"), nw.lit("<br>"), nw.col("__frac_n_unique")

In the code above I take 2 columns, n_unique and __frac_n_unique and insert a break between them. It would be nice to do this w/great_tables itself and not that code. Maybe that code can just be inserted into the great tables code base :)?

Maybe something like GT().stack_values(...)?

I think the R package has something similar, or at least there was some recipe for this back when I was using R.

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

No branches or pull requests

1 participant