Lennart Fricke writes:
> It is not exactly a missing value. The list looks like
> ((v,v),None,(v,v)). v for value.
> Missing values are rather like ((v,v),(None,None),(v,v)).
> At the moment i can not think of a use case of controlling this translation.
> But i have to dig deeper in the translati
It is not exactly a missing value. The list looks like
((v,v),None,(v,v)). v for value.
Missing values are rather like ((v,v),(None,None),(v,v)).
At the moment i can not think of a use case of controlling this translation.
But i have to dig deeper in the translation process of the nested list
to
Perhaps it would be better to provide two customization variables, e.g.,
;; -*- emacs-lisp -*-
(defcustom org-babel-python-hline-to "None"
"Replace hlines in incoming tables with this when translating to python.")
(defcustom org-babel-python-None-to "'hline"
"Replace 'None
This patch makes None being treated as hline again.
Best regards
Lennart Fricke
diff --git a/lisp/ob-python.el b/lisp/ob-python.el
index 71adf73..a1f834f 100644
--- a/lisp/ob-python.el
+++ b/lisp/ob-python.el
@@ -123,7 +123,11 @@ specifying a variable of the same value."
"Convert RESULTS into
Hello,
The following block exits with error:
orgtbl-format-line: Wrong type argument: sequencep, None
#+TBLNAME: many-cols
| a | b | c |
|---+---+---|
| d | e | f |
|---+---+---|
| g | h | i |
#+NAME: echo-table
#+BEGIN_SRC python :var tab=many-cols :hlines yes
return tab
#+END_SRC
I