From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: org-mode and python pandas Date: Wed, 03 Jul 2013 12:31:45 +0200 Message-ID: <87a9m4gcj2.fsf@pank.eu> References: <87bo6nkv0e.fsf@gmail.com> <87y59qdysz.fsf@Rainer.invalid> <87zju6jjo3.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKOx-0001sQ-MU for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 06:35:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuKOu-0001k5-Rm for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 06:35:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:34597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKOu-0001hf-Iu for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 06:35:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UuKOt-0001Vo-KW for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 12:35:03 +0200 Received: from business-213-023-238-209.static.arcor-ip.net ([213.23.238.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 12:35:03 +0200 Received: from rasmus by business-213-023-238-209.static.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Jul 2013 12:35:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Dov, > Another related question is if there is any support for header tables? > I.e. instead of this: > > | | A | B | C | > | 0 | 0.827817 | 0.664009 | 0.089161 | > | 1 | 0.170031 | 0.729214 | 0.110918 | > | 2 | 0.575918 | 0.863924 | 0.757536 | > | 3 | 0.682722 | 0.774445 | 0.992041 | > > I want this: > > | | A | B | C | > |---+----------+----------+----------| > | 0 | 0.827817 | 0.664009 | 0.089161 | > | 1 | 0.170031 | 0.729214 | 0.110918 | > | 2 | 0.575918 | 0.863924 | 0.757536 | > | 3 | 0.682722 | 0.774445 | 0.992041 | This is an issue in R as well, e.g. often I might want to have |A| |-| |1| |2| |-| |3| where the last is a summary statistic. The last hline can be gotten as #+BEGIN_SRC emacs-lisp :var X=mytabel :exports results (let ((L (- (length X) 1))) (append (subseq X 0 L) (list 'hline) (subseq X L))) #+END_SRC Perhaps a better way exists? –Rasmus -- . . . It begins of course with The Internet. A Net of Peers.