If a TimeSeries happens to have zero columns in it, then invoking columns() should return an empty array.
Instead it throws an exception: "Uncaught TypeError: Cannot read property 'events' of null".
Currently the only way to test for zero columns is to ask for the columns array and catch the exception from this iterator.
If a TimeSeries happens to have zero columns in it, then invoking columns() should return an empty array.
Instead it throws an exception: "Uncaught TypeError: Cannot read property 'events' of null".
Currently the only way to test for zero columns is to ask for the columns array and catch the exception from this iterator.