title: Plot two pandas data frames side by side, each in subplot style
body: <p>I want to plot two pandas dataframes side by side, each plot should be in subplot form. I am using following lines:</p>
  
  <pre><code>import numpy as np
  import pandas as pd
  import matplotlib.pyplot as plt
  # create dummy pandas dataframes
  pd1 = pd.DataFrame({'a':np.random.random(22),'b':np.random.random(22),'c':np.random.random(22)})
  pd2 = pd.DataFrame({'J':np.random.random(22),'K':np.random.random(22),'P':np.random.random(22)})
  #create subplot figure with having two side by side plots
  fig, axes = plt.subplots(nrows=1,ncols=2,figsize=(12,6))
  # plot first pandas frame in subplot style
  pd1.plot(ax = axes[0],subplots=True) 
  # plot second pandas frame in subplot style
  pd2.plot(ax = axes[1],subplots=True)
  </code></pre>
  
  <p>Without subplot option, side by side plots are drawn but I want in subplot style. Is there any other option to get it done?</p>
  
  <p>Precisely, I want to plot pandas in the following manner:
  <a href="https://i.stack.imgur.com/BotzSm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BotzSm.png" alt="enter image description here"></a></p>