if no data was returned for the query, attempting to get the points/columns of data will fail.
Merge pull request #7 from Amicus/fix/no_data_error

if no data was returned for the query, attempting to get the points/columns of data will fail.