Closed femtotrader closed 5 years ago
Following https://github.com/dysonance/Temporal.jl/issues/20#issuecomment-363834526
A rename! function implementation could also accept a function as 2nd parameter which could rename column name in place.
rename!
Something like
rename!(data, c->replace(c, " ", ""))
Although TS column names are Symbol... not String so it will become
Symbol
String
rename!(data, c->Symbol(replace(String(c), " ", "")))
but I'd prefer the Symbol/String complexity be hidden.
Following https://github.com/dysonance/Temporal.jl/issues/20#issuecomment-363834526
A
rename!
function implementation could also accept a function as 2nd parameter which could rename column name in place.Something like
Although TS column names are
Symbol
... notString
so it will becomebut I'd prefer the Symbol/String complexity be hidden.