title: How to subset a pandas series based on value?
body: <p>I have a pandas series object, and i want to subset it based on a value  </p>
  
  <p>for example:</p>
  
  <pre><code>s = pd.Series([1,2,3,4,5,6,7,8,9,10])
  </code></pre>
  
  <p>how can i subset it so i can get a series object containing only elements greater or under x value. ?</p>