Handling the case where columnar data has a single data instead of array