- Index
- »
- axon
- »
- func:keepCols
def
func:keepCols
keepCols(grid, cols)
Return a new grid with keeps the given columns, but removes all the others. Columns can be Str names or Col instances. Also see Streams.
Example:
readAll(site).keepCols(["id", "area"])