skip empty lines in column and subset indexing