title: Remove a subset of records from a dataframe in r
body: <p>We can combine 2 dataframes using <code>df = rbind(df, another_df)</code>. How it should be if its required to remove <code>another_df</code> from <code>df</code> where rownames of <code>df</code> and <code>another_df</code> are not matching.</p>
  
  <pre><code>df = data.frame(A=c('a','aa','aaa'), B=c('b','bb','bbb'))
  rownames(df)
  
  another_df =data.frame(A=c('aa','a'), B=c('bb','b'))
  rownames(another_df)=c('3','4')
  </code></pre>