sukri12 / pysal

Automatically exported from code.google.com/p/pysal
Other
0 stars 0 forks source link

Error in \core\FileIO.py #236

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi all,

In the attachement I put a file test and the error message when I try to open 
the file.

Regards,
Ion

Original issue reported on code.google.com by Ion.Co...@gmail.com on 17 Jan 2013 at 3:25

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Ion,

I cannot replicate your error here. Please in a code snippet.

- Charlie.

>>> import pysal
>>> f = pysal.open('S2.csv','r')
>>> f.header
['id', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 
'O', 'P', 'Q']
>>> f.read()
[[1, 0.029999999999999999, 0.040000000000000001, 0.040000000000000001, 
0.050000000000000003, 0.050000000000000003, 0.059999999999999998, 
0.050000000000000003, 0.050000000000000003, 0.040000000000000001, 
0.059999999999999998, 0.080000000000000002, 0.10000000000000001, 0.11, 0.12, 
0.059999999999999998, 0.029999999999999999, 0.029999999999999999]]

Original comment by schmi...@gmail.com on 17 Jan 2013 at 3:36