When I created a text file from the olympic data, I get the following:
...
20,
39,
28,
29,
32,
17,
21,
31,
23,
NaN ]
Does anyone have any strategies for removing the NaN from '\n' separated data? I used gauss> data = data.map(function(line){return parseInt(line)}); for the comma-separated data.txt file, but I'm a little stuck for this one. Thanks :)
When I created a text file from the olympic data, I get the following:
... 20, 39, 28, 29, 32, 17, 21, 31, 23, NaN ]
Does anyone have any strategies for removing the NaN from '\n' separated data? I used gauss> data = data.map(function(line){return parseInt(line)}); for the comma-separated data.txt file, but I'm a little stuck for this one. Thanks :)