Pandas select data in q quantile
<p>I have a pandas time series <code>ts = pd.TimeSeries(np.random.normal(0, 1, 100))</code> and I want to select only the samples in the first <code>q-1</code> quantiles.</p>

<p>I am able to get quantiles interval with: <code>pd.qcut(ts, 10)</code> but how can I select only the samples in the first 9 quantiles?</p>