title: Split pandas dataframe into multiple dataframes
body: <p>I have a dataframe where several of the columns represent categorical data. I would like to split it up based on each combination. Below is a simplified version of what I have:</p>
  
  <pre><code>In [394]: df.head(10)
  Out[394]: 
           existing  priority  State payment
  0               Y         N     FL    10.4
  1               N         N     CA   918.0
  2               Y         N     CA   493.0
  3               Y         N     FL   743.2
  4               Y         Y     CA   898.0
  5               N         N     CA  -237.0
  6               Y         Y     CA   510.0
  7               N         N     CA  -480.0
  8               Y         N     FL  -125.0
  9               Y         Y     CA   211.0
  </code></pre>
  
  <p>I would like to have one dataframe that contains all entries of one combination of the first three variables, i.e.:</p>
  
  <pre><code>         existing  priority  State payment
  0               Y         N     FL    10.4
  1               Y         N     FL   743.2
  2               Y         N     FL  -125.0
  </code></pre>
  
  <p>...and each combination thereafter...</p>
  
  <pre><code>         existing  priority  State payment
  0               N         N     CA   918.0
  1               N         N     CA  -237.0
  2               N         N     CA  -480.0
  </code></pre>
  
  <p>...etc. Is there any way to do this? Could the naming convention be automated so it contains the names of each variable combination?</p>
  
  <p>Let me know if there's any ambiguity in what I'm asking here, and thanks in advance for the help!</p>