You’ve carefully parsed your log file, created feature columns, and now just want to propagate all known values down all columns. What’s the neat way to do this?
I have an ID column (I don’t care about) and the help for select lead me to my best solution so far of
blah_df %>% fill(-ID)
Positive values select variables; negative values to drop
variables. If the first expression is negative, ‘select()’
will automatically start with all variables.
But this requires the presence of a column you don’t want to fill. I’d kinda hope that fill() would default to all columns rather than none.