frame/select
src/frame/select.tur
defn
select-cols
(select-cols [f :int names :int] :int)
keep only the named columns, in the given order.
defn
drop-cols
(drop-cols [f :int names :int] :int)
keep every column except those named in `names`. Since: FR2
defn
rename
(rename [f :int old :cstr new :cstr] :int)
return a new frame with column `old` renamed to `new`.
defn
with-col
(with-col [f :int name :cstr type :int col :int] :int)
return a new frame with the named column added (or replaced).
Since: FR2
Internal definitions
__s-nil__s-cons__cstr-list-has?__cstr-list-nth__cstr-list-nth-int__cstr-list-length__pair-first__pair-second__append-end__clone-field-at__build-from-indices__indices-from-names__all-indices-except__assemble__rename-build__with-col-append__with-col-replace