title: PANDAS split dataframe to multiple by unique values rows
body: <p>I have a DataFrame in Pandas</p>
  
  <pre><code>      PRICE   Name     PER   CATEGORY   STORENAME
  0      9.99    MF      gram  Indica     Store1
  1      9.99    HY      gram  Herb       Store2
  2      9.99    FF      gram  Herb       Store2
  </code></pre>
  
  <p>What I want to do is split these into multiple data frames to have unique names, then in those split to category.</p>
  
  <p>Current code: </p>
  
  <pre><code>names = df['STORENAME'].unique().tolist()   #find unique values
  store1 = df[df['STORENAME']==names[0]]        
  store2 = df[df['STORENAME']==names[1]]
  </code></pre>
  
  <p>This code works perfectly but I am wondering if there is a Pythonic way since the number of stores may change.</p>
  
  <p>This is needed to plot the difference in prices in categories in stores.</p>
  
  <p>Thanks!</p>