Python/Pandas - partitioning a pandas DataFrame in 10 disjoint, equally-sized subsets
<p>I want to partition a pandas DataFrame into ten disjoint, equally-sized, randomly composed subsets. </p>

<p>I know I can randomly sample one tenth of the original pandas DataFrame using:</p>

<pre><code>partition_1 = pandas.DataFrame.sample(frac=(1/10))
</code></pre>

<p>However, how can I obtain the other nine partitions? If I'd do <code>pandas.DataFrame.sample(frac=(1/10))</code> again, there exists the possibility that my subsets are not disjoint. </p>

<p>Thanks for the help!</p>