def skipper(fname):
    with open(fname) as fin:
        no_comments = (line for line in fin if not line.lstrip().startswith
            ('#'))
next(no_comments, None)
for row in no_comments:
    yield row
a = np.loadtxt(skipper('your_file'), delimiter=',')
numpy loadtxt skip first row