How to assign all the values together in the dataframe and not one by one using append Something like this: for (int i = 1; i <= 334; i++) { df.append(parsed); }