{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / column / ColDefs / change_attrib

function

astropy.io.fits.column:ColDefs.change_attrib

source: /astropy/io/fits/column.py:1887

Signature

def change_attrib(self, col_name, attrib, new_value)

Summary

Change an attribute (in the KEYWORD_ATTRIBUTES list) of a Column.

Parameters

col_name : str or int

The column name or index to change

attrib : str

The attribute name

new_value : object

The new value for the attribute

Aliases

  • astropy.io.fits.ColDefs.change_attrib