Untitled

mail@pastecode.io avatar
unknown
python
a month ago
187 B
3
Indexable
Never
q_string = "jp_sales > (na_sales + eu_sales) and jp_sales > 0 and na_sales > 0 and eu_sales > 0 and developer in @developers"
df_filtered = df.query(q_string)[cols]
print(df_filtered)
Leave a Comment