add dataframe pipe to query