I'm generating a few catalogues, and would like to have a column for comments. For some reason, when I generate the column and try to store a comment it only takes the first character.
from astropy.table import Column
C1 = Column(['']*12, name = 'ID')
C1[4] = 'test comment'
Then
print C1[4]
>> t
Looking at C1, I see that <Column name='ID' dtype='str1' length=12>
so it's obviously only storing a 1 char string.
if I try
C2 = Column(['some really long silly string']*12, name = 'ID')
C2[4] = 'test comment'
then
print C1[4]
>> test comment
but again, I can only store up to a 29 char string because <Column name='ID' dtype='str29' length=12>
and this is a terrible solution anyway.
How do I tell Column to store any length string?