Re: How to refer to remote table, in another file, as a source block variable?

2020-09-23 Thread Bastien
Hi William, William Denton writes: > I'll try to do a patch for the docs so this is clearer there. TIA! -- Bastien

Re: How to refer to remote table, in another file, as a source block variable?

2020-09-17 Thread William Denton
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)

Re: How to refer to remote table, in another file, as a source block variable?

2020-09-14 Thread John Kitchin
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'] :end: John ---

Re: How to refer to remote table, in another file, as a source block variable?

2020-09-14 Thread William Denton
My apologies for sending this around a second time, but I still haven't got it so I thought I'd try again. If it's possible to refer to a remote table in another file, I've love to know how. Bill On 7 August 2020, William Denton wrote: I can't figure this one out. Let's say I have a table

How to refer to remote table, in another file, as a source block variable?

2020-08-07 Thread William Denton
I can't figure this one out. Let's say I have a table in an Org file, like so: # - * Primes #+NAME: test_table | number | prime | |+---| | two| yes | | three | yes | | four | no| # - In another file, I want to bring this table into a source block as a varia