def with_read_csv(csv_file):
    df = pd.read_csv(csv_file, header=None, names=[('x_%d' % x) for x in
        range(10)] + [('y_%d' % y) for y in range(10)])
return df
Speeding up pairing of strings into objects in Python