Pandas for duplicating one line to fill DataFrame,newsampledata.reindex(newsampledata.index.repeat(n)).reset_index(drop=True)