Hi, MatrixTable 's annotate_cols adds new column fields. Table 's annotate adds new row fields.
Is there any way to add a new column to the hail table? We tried the below code but its throwing the following error “TypeError: ‘Table’ object does not support item assignment”
We try to avoid calling table fields “columns” because “column” has a particular meaning for matrix tables, and also often connotes homogenous kinds of data between columns.
The analog of a Pandas DataFrame ‘column’ is a table row field. annotate is exactly what you need here:
Is there a way to specify the location of the new fields? For example, creating FID and IID fields to place in the first 2 collumns of the table. The default is to add them at the end.