I have a script that produces SQL-like querys based on a dataframe. This in order to be used with pd.dataframe.query method. For example, an output would be:
set1