def _colspec(dataset_width):
 spec = 'l'
 for _ in range(1, dataset_width):
  spec += 'r'
 return spec

def _colspec ( dataset_width ) : spec = 'l' for _ in range ( 1 , dataset_width ) : spec += 'r' return spec
generates the column specification for the latex tabular environment based on the dataset width .