{ } Raw JSON

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

function

astropy.io.fits.column:ColDefs.change_unit

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

Signature

def   change_unit ( self col_name new_unit )

Summary

Change a Column's unit.

Parameters

col_name : str or int

The column name or index

new_unit : str

The new unit for the column

Aliases

  • astropy.io.fits.ColDefs.change_unit