#+TBLNAME: tablename | a | b | c | d | | 1 | 2 | 3 | 4 | | z | x | y | w | #+TBLNAME: othertablename | a | b | c | d | | 4 | 3 | 2 | 1 | | z | x | y | w | I have the following code block #+name: test #+begin_src python :var table=tablename :exports results import numpy as np tab = np.array(table) return np.array([tab[:,1], tab[:,-1]]).T #+end_src #+RESULTS: test | b | d | | 2 | 4 | | x | w | If I call that function the result is correct However using #+CALL: test[:var table=othertablename]() :exports results #+RESULTS: | b | d | | 3 | 1 | | x | w | #+CALL: test(table=othertablename) :exports results #+RESULTS: | b | d | | 3 | 1 | | x | w |