SELECT * FROM Sales where SKUDESC='samsung' AND Full_month='January'
i want output which this query gives but in python code
i am trying to groupby and i am getting name of groups .how to get values like it gives in SQL query
field=['product', 'month']
grouped=df.groupby(field).groups