def METHOD_NAME(shpdata, rstdata, cols):
    drow = np.zeros((len(cols),))
    lenght = len(shpdata)
    for i, rows in enumerate(zip(shpdata, *rstdata)):
        glg.G_percent(i, lenght, 2)
        start = 0
        for row in rows:
            end = start + row.shape[0]
            # print('---')
            # for c, r in zip(cols[start:end], row):
            #    print(c[0], r)
            drow[start:end] = row
            start = end
        # import ipdb; ipdb.set_trace()
        yield drow