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