def random_samples(self, n):
samples = self.samples<EOL>inds = rand.randint(len(samples),size=int(n))<EOL>newsamples = samples.iloc[inds]<EOL>newsamples.reset_index(inplace=True)<EOL>return newsamples<EOL>
Returns a random sampling of given size from the existing samples.

:param n:
    Number of samples

:return:
    :class:`pandas.DataFrame` of length ``n`` with random samples.