help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load for a csv file "unable to determine file format of 'fmt2_Moveme


From: Przemek Klosowski
Subject: Re: load for a csv file "unable to determine file format of 'fmt2_Movements.csv'
Date: Fri, 24 Mar 2017 11:48:54 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 03/24/2017 10:20 AM, ssumcy wrote:

error: load: unable to determine file format of
'fmt2_PlanetaryMovements.csv'

Planetary Movements for March, 2017:

Entry of planets into signs

Surya	enters	Pisces	14	19:38:59
Mangala	enters	Aries	1	23:05:23
Budha	enters	Pisces	8	22:53:52...
This does not look at all like a .csv file: CSV stands for 'comma separated values', i.e. the lines in the file should look like   "somestring", 1.2, 3.4
.....
Idea is to enter the positions into a cell and reshape the 3 sections as in
this file. What is the best way to read such a file? Just want to read this
file either as csv, excel or rtf. File does not get loaded. Textread is
quite round about. 
Yes, but since your file is fairly unstructured, you may have to use textread(). Can you change the generation of the file so that it actually is a .csv format?
load fmt2_PlanetaryMovements.csv
the load command is designed for Octave/Matlab own file format---actually, if you have control over the output of your data files, you could write them to mimic the Octave text format, perhaps; that would make it very easy to read it in.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]