Here is my dataframe dim
var types count
0 var1 nominal 1
1 var2 ordinal 1
2 var3 quantitative 2
3 var4 quantitative 2
I want to get the dim["var"] where dim["types"] == quantitative and dim["count"] > 1. The result then is a list [var3, var4]. When I am trying the following query:
print(dim["var"].where((dim["types"] =="quantitative") & (dim["count"] > 1)))
I am getting the following result:
0 NaN
1 NaN
2 NaN
3 NaN
I don't know how can I get the desired solution.