python pandas filtering out nan from a data selection of a column of strings,nms.dropna(thresh=2)