The pandas.DataFrame.query() method is of great usage for (pre/post)-filtering data when loading or plotting. It comes particularly handy for method chaining.
pandas.DataFrame.query()
Instead of query you can use pipe:
pipe
s.pipe(lambda x: x[x>0]).pipe(lambda x: x[x<10])