I try to create a query such as
traffic.groupby([round(traffic.a),traffic.r])[["sn","sbr"]].nunique().loc[a==2,:]
The las