Le mardi 05 janvier 2010 à 22:34 -0800, Christopher Barker a écrit :
> Nadav Horesh wrote:
> > is there a (simple) solution to extract data from OpenDocument files
> > (espacially OpenOffice.org Calc files) into a Numpy Array?
>
> Aren't they XML? you may be able to use an XML parser.
See, e.g.,
Nadav Horesh wrote:
> is there a (simple) solution to extract data from OpenDocument files
> (espacially OpenOffice.org Calc files) into a Numpy Array?
Aren't they XML? you may be able to use an XML parser.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/
] extracting data from ODF files
Hi,
is there a (simple) solution to extract data from OpenDocument files
(espacially OpenOffice.org Calc files) into a Numpy Array? At the
moment I copy the colums from OO.org Calc manually into a
tab-separatet Plaintext file which is quite annoying.
Regards
Hi Manuel,
you may save your odf file as a csv (comma separated value) file with
OpenOffice, then use np.loadtxt, specifying the 'delimiter' keyword:
myarray = np.loadtxt('myfile.csv', delimiter=',')
Cheers,
Emmanuelle
On Tue, Jan 05, 2010 at 10:14:54PM +0100, Manuel Wittchen wrote:
> Hi,
> i
Hi,
is there a (simple) solution to extract data from OpenDocument files
(espacially OpenOffice.org Calc files) into a Numpy Array? At the
moment I copy the colums from OO.org Calc manually into a
tab-separatet Plaintext file which is quite annoying.
Regards,
Manuel Wittchen
_