Skip to content

Commit 1724568

Browse files
committed
Add docs that tables with non-mutable mixins cannot be sorted
See astropy#9536 for details
1 parent 47575b3 commit 1724568

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎docs/table/mixin_columns.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ an exception like the following would occur::
179179
ValueError: Unable to insert row because of exception in column 'skycoord':
180180
'SkyCoord' object has no attribute 'insert'
181181

182+
**Sorting tables**
183+
184+
For the same reason, tables with mixin classes that are not mutable cannot be
185+
sorted. Trying to do so might raise an exception like::
186+
187+
TypeError: 'SkyCoord' object does not support item assignment
188+
182189
**Initializing from a list of rows or a list of dicts**
183190

184191
This mode of initializing a table does not work with mixin columns, so both of

0 commit comments

Comments
 (0)