Description
Print the deepcopy of a masked Table raise an AttributeError.
Expected behavior
Print the deepcopy of masked Table
How to Reproduce
from astropy.table import Table
from copy import deepcopy
t1 = Table([(1, 2)], names=('a'), masked=True)
t2 = deepcopy(t1)
print(t2)
AttributeError: 'astropy.table.column.MaskedColumnInfo' object has no attribute '_format_funcs'
Versions
platform
--------
platform.platform() = 'Linux-6.8.0-53-generic-x86_64-with-glibc2.39'
platform.version() = '#55-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 17 15:37:52 UTC 2025'
platform.python_version() = '3.13.2'
packages
--------
astropy 7.1.0
numpy 2.1.3
scipy 1.16.2
matplotlib 3.10.0
pandas 2.3.3
pyerfa 2.0.1.5
Description
Print the
deepcopyof a maskedTableraise anAttributeError.Expected behavior
Print the
deepcopyof maskedTableHow to Reproduce
Versions