Received: by 10.204.130.204 with SMTP id u12mr1098574bks.1.1348513327925;
Mon, 24 Sep 2012 12:02:07 -0700 (PDT)
X-BeenThere: web2py-/***@public.gmane.org
Received: by 10.204.157.26 with SMTP id z26ls6409656bkw.1.gmail; Mon, 24 Sep
2012 12:02:02 -0700 (PDT)
Received: by 10.204.148.22 with SMTP id n22mr1068515bkv.0.1348513322612;
Mon, 24 Sep 2012 12:02:02 -0700 (PDT)
Received: by 10.204.148.22 with SMTP id n22mr1068514bkv.0.1348513322599;
Mon, 24 Sep 2012 12:02:02 -0700 (PDT)
Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
by gmr-mx.google.com with ESMTPS id e23si1396268bks.0.2012.09.24.12.02.02
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 24 Sep 2012 12:02:02 -0700 (PDT)
Received-SPF: pass (google.com: domain of gcpw-***@m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3;
Received: from list by plane.gmane.org with local (Exim 4.69)
(envelope-from <gcpw-***@m.gmane.org>)
id 1TGDuv-0007wN-R8
for web2py-/***@public.gmane.org; Mon, 24 Sep 2012 21:02:05 +0200
Received: from dslb-094-219-108-083.pools.arcor-ip.net ([94.219.108.83])
by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for <web2py-/***@public.gmane.org>; Mon, 24 Sep 2012 21:02:05 +0200
Received: from timmichelsen by dslb-094-219-108-083.pools.arcor-ip.net with local (Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for <web2py-/***@public.gmane.org>; Mon, 24 Sep 2012 21:02:05 +0200
X-Injected-Via-Gmane: http://gmane.org/
Lines: 19
X-Complaints-To: usenet-***@public.gmane.org
X-Gmane-NNTP-Posting-Host: dslb-094-219-108-083.pools.arcor-ip.net
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
In-Reply-To: <e7788452-9edd-40e4-a6de-05980725d1e6-/***@public.gmane.org>
X-Original-Sender: timmichelsen-***@public.gmane.org
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com:
domain of gcpw-***@m.gmane.org designates 80.91.229.3 as permitted sender) smtp.mail=gcpw-***@m.gmane.org
Precedence: list
Mailing-list: list web2py-/***@public.gmane.org; contact web2py+owners-/***@public.gmane.org
List-ID: <web2py.googlegroups.com>
X-Google-Group-Id: 515640823484
List-Post: <http://groups.google.com/group/web2py/post?hl=en>, <mailto:web2py-/***@public.gmane.org>
List-Help: <http://groups.google.com/support/?hl=en>, <mailto:web2py+help-/***@public.gmane.org>
List-Archive: <http://groups.google.com/group/web2py?hl=en>
Sender: web2py-/***@public.gmane.org
List-Subscribe: <http://groups.google.com/group/web2py/subscribe?hl=en>, <mailto:web2py+subscribe-/***@public.gmane.org>
List-Unsubscribe: <http://groups.google.com/group/web2py/subscribe?hl=en>, <mailto:googlegroups-manage+515640823484+unsubscribe-/***@public.gmane.org>
Archived-At: <http://permalink.gmane.org/gmane.comp.python.web2py/97978>
Post by andrej burjai think i can do
equipment = db().select.as_dict()
df = DataFrame(equipment)
but how to display pandas DataFrame object in web2py view?
or how to convert in to something i can display in view?
Did you look at to_html?
Formatting DataFrame as HTML
http://wesmckinney.com/blog/?p=356
Writing to HTML format
http://pandas.pydata.org/pandas-docs/dev/io.html#writing-to-html-format
Please let us knowhow it goes.
I also use pandas,but mainly for scripts
--