|
From: | William Denton |
Subject: | Re: How to refer to remote table, in another file, as a source block variable? |
Date: | Thu, 17 Sep 2020 17:01:26 -0400 (EDT) |
User-agent: | Alpine 2.02 (DEB 1266 2009-07-14) |
Aha! Thank you! I'll try to do a patch for the docs so this is clearer there. Bill On 14 September 2020, John Kitchin wrote:
I think you are looking for (Assuming your table is in an org file called test.org): #+BEGIN_SRC ipython :var data=test.org:test_table for row in data: print(row) #+END_SRC #+RESULTS: :results: # Out [2]: # output ['two', 'yes'] ['three', 'yes'] ['four', 'no']
-- William Denton :: Toronto, Canada --- Listening to Art: https://listeningtoart.org/ https://www.miskatonic.org/ --- GHG.EARTH: https://ghg.earth/ Caveat lector. --- STAPLR: https://staplr.org/
[Prev in Thread] | Current Thread | [Next in Thread] |