(cls, headers: List[List[str]])
return names, cls._type_from_flag(flags), cls._flag_from_flag(flags)
First row format either:
          1) delimited column names
          2) -||- with type and flags prepended, separated by #,
             e.g. d#sex,c#age,cC#IQ
First row format either:
          1) delimited column names
          2) -||- with type and flags prepended, separated by #,
             e.g. d#sex,c#age,cC#IQ
First row format either : 1 ) delimited column names 2 ) - || - with type and flags prepended separated by # e . g . d#sex c#age cC#IQ
def _header1(cls, headers: List[List[str]]) -> Tuple[List, List, List]:
        """
        First row format either:
          1) delimited column names
          2) -||- with type and flags prepended, separated by #,
             e.g. d#sex,c#age,cC#IQ
        """
        flags, names = zip(*[i.split(cls.HEADER1_FLAG_SEP, 1)
                             if cls.HEADER1_FLAG_SEP in i else ('', i)
                             for i in headers[0]])
        names = list(names)
        return names, cls._type_from_flag(flags), cls._flag_from_flag(flags)
def _header1 ( cls , headers : List [ List [ str ] ] ) -> Tuple [ List , List , List ] : flags , names = zip ( * [ i . split ( cls . HEADER1_FLAG_SEP , 1 ) if cls . HEADER1_FLAG_SEP in i else ( '' , i ) for i in headers [ 0 ] ] ) names = list ( names ) return names , cls . _type_from_flag ( flags ) , cls . _flag_from_flag ( flags )