:colnames header argument accepts the values
nil for unassigned. The default value is
Note that the behavior of the
:colnames header argument may differ
nilIf an input table looks like it has column names (because its second row is an hline), then the column names will be removed from the table before processing, then reapplied to the results.
#+NAME: less-cols | a | |---| | b | | c | #+NAME: echo-table-again #+BEGIN_SRC python :var tab=less-cols return [[val + '*' for val in row] for row in tab] #+END_SRC #+RESULTS: echo-table-again | a | |----| | b* | | c* |
Please note that column names are not removed before the table is indexed using variable indexing See Indexable variable values.
noNo column name pre-processing takes place
yesColumn names are removed and reapplied as with
nileven if the table does not “look like” it has column names (i.e., the second row is not an hline)