and want to remove the nan. I tried: x = x[~numpy.isnan(x)]. But that only works if it contains numbers. How do we solve this for strings in Python 3+?.
確定! 回上一頁