title: How do I plot countplots from two different dataframes side by side?
body: <p>I have a training data set and test data set with the same categorical columns.  Currently, I enumerate through the categorical columns for each data set to produce two sets of countplot subplots for each data set as follows:</p>
  <pre><code>plt.figure(figsize=(20,20))
  for i, col in enumerate(cat_features):
      plt.subplot(5,2,i+1)
      sns.countplot(x=col,data=train, order=('A','B','C','D','E','F','G','H','I','J','K','L','N'))
  plt.tight_layout()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/Pt1sU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pt1sU.png" alt="which produces a nice figure like this (note for sake of space I cropped to show the first four):" /></a></p>
  <p>What I want to be ab;e to do is a side by side comparison between Test and Train; one set of subplots where catplot for Cat0 Train is side by side with Cat0 Test, then subplot catplot for Cat1 Train is next to Cat1 Test, etc,etc.</p>
  <p>Train Data looks like (small subset)</p>
  <pre><code>cat0    cat1    cat2    cat3    cat4    cat5    cat6    cat7    cat8    
                                      
      A    B       A      A       B       D       A       E       C   
      B    A       A      A       B       B       A       E       A   
      A    A       A      C       B       D       A       B       C   
      A    A       A      C       B       D       A       E       G   
      A    B       A      A       B       B       A       E       C   
  </code></pre>
  <p>Train Data</p>
  <pre><code>cat0    cat1    cat2    cat3    cat4    cat5    cat6    cat7    cat8
                              
  A       B       A       C       B       D       A       E       E
  A       B       A       C       B       D       A       E       C
  A       B       A       C       B       D       A       E       C
  A       A       B       A       B       D       A       E       E
  A       B       A       A       B       B       A       E       E
  </code></pre>