Hi all,

I noticed that the "--send-data" option for the python variant of the "foreign" command didn't actually do anything.

I just pushed to git a small modification so that a script like the following works:

<hansl>
set verbose off
open mroz87.gdt
logs WW
summary WW l_WW --simple

foreign language=python --send-data
	s = gretldata[['WW', 'l_WW']].describe()
	print(s);
end foreign
</hansl>

note: I used pandas' read_csv() method, which means that this won't work if you haven't got pandas installed.

Commens welcome.

PS: Allin, please review.

-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucchetti@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------