|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
Writing a 2D array to a .csv file inaccuracy
Hello, so i am writing a program to write a 2D array to a .csv file and i am getting this weird first row. The first number is not apart of the incoming data but rather a separate number added on later that represents the iteration when that data occured. The file looks like this:"
47.000000000000,[0, 0, 0] 0.000000,3.225078,4.225078,5.225078 1.000000,5.188849,6.188849,7.188849 2.000000,3.099205,4.099205,5.099205 3.000000,3.634052,4.634052,5.634052 4.000000,3.720020,4.720020,5.720020 5.000000,4.548906,5.548906,6.548906 .................................................. . 47.000000,4.816074,5.816074,6.816074 48.000000,4.336721,5.336721,6.336721 49.000000,2.745114,3.745114,4.745114" That first line is not apart of the data set that goes into the indexing tunnel but it comes out this way. I would like to know two things; why does this happen and how do I remedy it? I know it is happening there because i probed the wire before and after the tunnel. Any help would be greatly appreciated guys. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|