- Index
- »
- axon
- »
- func:renameCols
def
func:renameCols
renameCols(grid, mapping)
Return a new grid with multiple columns renamed. Mapping must be a dict of old to new names. Old column names not found are ignored.
Example:
readAll(site).renameCols({dis:"title", geoAddr:"subtitle"})