Aug-04-2020, 03:54 PM
Hello all
I was hoping someone could help me with the following issue.
I want to append a row from one data frame to another data frame.
The code i have so far is as follows:-
I was wondering if someone could point me in the right direction?
Thank you.
I was hoping someone could help me with the following issue.
I want to append a row from one data frame to another data frame.
The code i have so far is as follows:-
Body_Data_Frame = pandas.DataFrame(data = None, columns=['A','B','C']) #empty data frame just column headings no data Row_To_Append = pandas.DataFrame([Report.iloc[s,:]]) # i create a new data frame called Row_To_Append which contains the row from another data frame Body_Data_Frame.append(Row_To_Append) # i want to append the Row_To_Append data frame to Body_Data_FrameI dont get any errors but i cannot get any data to be appended to data fram Body_Data_Frame.
I was wondering if someone could point me in the right direction?
Thank you.