Ihor Radchenko <yanta...@posteo.net> writes: > Our convention is to use [BUG] in subject like to mark bugs. That's > what M-x org-submit-bug-report does.
TIL ... again. :) > What you show looks consistent with "16.4 Environment of a Code Block" > in Org manual. Oh, I see. Wow, that is /really/ confusing from the user's POV. For anyone reading in the future, to get column names in Pandas, write `:colnames no' (!) and `pd.DataFrame(VAR[1:], columns=VAR[0])'. Using the example above, this would be: #+HEADER: :colnames no #+HEADER: :session *Python* #+HEADER: :var INPUT = 20a0ea41-3669-482c-989e-d28486d5d400 #+BEGIN_SRC python import pandas as pd pd.DataFrame(INPUT[1:], columns=INPUT[0]) #+END_SRC #+RESULTS: : A B : 0 10 20 : 1 30 40 Canceled. Rudy -- "Programming reliably -- must be an activity of an undeniably mathematical nature […] You see, mathematics is about thinking, and doing mathematics is always trying to think as well as possible." --- Edsger W. Dijkstra, 1981 Rudolf Adamkovič <rud...@adamkovic.org> [he/him] http://adamkovic.org