:rownames header argument can take on values
no values. The default is
no. Note that
code blocks ignore
:rownames header argument because of the ease of
table-handling in Emacs.
noOrg will not pre-process row names.
yesIf an input table has row names, then Org removes the row names, processes the table, puts back the row names, and then writes the table to the results block.
#+NAME: with-rownames | one | 1 | 2 | 3 | 4 | 5 | | two | 6 | 7 | 8 | 9 | 10 | #+NAME: echo-table-once-again #+BEGIN_SRC python :var tab=with-rownames :rownames yes return [[val + 10 for val in row] for row in tab] #+END_SRC #+RESULTS: echo-table-once-again | one | 11 | 12 | 13 | 14 | 15 | | two | 16 | 17 | 18 | 19 | 20 |
Note that row names have to accounted for when using variable indexing (see Indexable variable values) because row names are not removed for indexing.