You are working on the astropy/astropy repository. The source code is checked out at /testbed at commit…
You are working on the astropy/astropy repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). When assigning a constant value to a column, e.g. table 'col2' = 1.0 , most of the time it works as expected, that the constant value is…
The task
When assigning a constant value to a column, e.g. `table['col2'] = 1.0`, most of the time it works as expected, that the constant value is broadcasted to the column. But in the case that the table is empty and the column is a new one to be added, a `TypeError: Empty table cannot have column set to scalar value` is…
Part of Lego-X/Lego-RL-2699.