decisionpatterns / sticky

Persist attributes through data manipulations
Other
21 stars 2 forks source link

make all elements sticky #1

Closed ctbrown closed 7 years ago

ctbrown commented 8 years ago

It has been suggested that a really useful feature would be to turn all elements of a list/table/data.frame/data.table sticky. Something like:

df <- sticky(df)    # Or 

setSticky(dt)

See: http://stackoverflow.com/questions/10404224/how-to-delete-a-row-from-a-data-frame-without-losing-the-attributes