title: How to append dictionary rows into empty pandas dataframe?
body: <p>I have a dataframe df and and empty dataframes df1 and df2.
  I am trying to append rows if conditions are true in df1 or df2</p>
  <pre><code>
  ##df is my input dataframe
  
  #df1 and df2 are empty dataframe
  df1 = pd.DataFrame(columns = df.columns)
  df2 = pd.DataFrame(columns = df.columns)
  
  
  df_dict = df.to_dict('records')
  for rows in df_dict:
       if condition1 == true:
         print(rows)
         df1.append(rows, ignore_index = True)
  
       else:
         print(rows)
         df2.append(rows, ignore_index = True)
  
  </code></pre>
  <p>print is returning rows but append is empty</p>