With Pandas dataframe
<http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.query.html>,
we can do query:

>>> from numpy.random import randn>>> from pandas import DataFrame>>> df = 
>>> DataFrame(randn(10, 2), columns=list('ab'))>>> df.query('a > b')


This SQL-select-like query is very convenient. Can we do similar thing with
the new dataframe of spark?


Best,
Rex

Reply via email to