|NRAO Home > CASA > CASA Toolkit Reference Manual||
3.2.1 remove one or more columns
Columns can be removed from a table that was opened nomodify=False.
It may not always be possible to remove a column, because some data managers do not support column removal. However, if all columns of a data manager are removed, it will always succeed. It results in the removal of the entire data manager (and its possible files).
Note that function getdminfo can be used to find which columns are served by which data manager.
names of columns to be removed
tb.removecols ("col1 col2")
Two columns are removed.
More information about CASA may be found at the CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.