You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DF = DataFrame( A= (a=1,b=2,c=3))
@chain begin
@rtransform DF $AsTable = :A
rename!(_, "X_" .* names(_) )
end
To condense 2 lines into 1, could there be a syntax like:
@rtransform DF $AsTable(prefix="X_") = :A
Use Case
Sometimes multiple columns contain named tuples with the same field names. I'd like to expand them all into the main table with different prefixes.
The text was updated successfully, but these errors were encountered:
Lincoln-Hannah
changed the title
Request $AsTable with prefix
Request - $AsTable with prefix
Jun 13, 2024
To condense 2 lines into 1, could there be a syntax like:
Use Case
Sometimes multiple columns contain named tuples with the same field names. I'd like to expand them all into the main table with different prefixes.
The text was updated successfully, but these errors were encountered: