This is the official manual for the latest Org-mode release.
:colnames header argument accepts
nil values. The default value is
nil, which is unassigned. But
this header argument behaves differently depending on the source code language.
nilIf an input table has column names (because the second row is an hline), then Org removes the column names, processes the table, puts back the column names, and then writes the table to the results block.
#+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* |
Note that column names have to accounted for when using variable indexing (see Indexable variable values) because column names are not removed for indexing.
noDo not pre-process column names.
yesFor an input table that has no hlines, process it like the
nilvalue. That is, Org removes the column names, processes the table, puts back the column names, and then writes the table to the results block.