Numpy Typeerror List Object Has No Attribute Dropna Threshold