How do I append only one row to a new dataframe? I have only seen examples appending a whole dataframe. I am using iterrows to so I have the index of the row I want to append to a new dataframe.
for index1, row1 in df.iterrows():
if df.iloc[index][0] == "Text":
Inside this if statement I want to append that row.