s = numpy.asarray(numpy.string_("hello\nworld")) >>> r = s.astype(str, copy=False) >>> r array('hello\nworld', dtype='<U11'). 來源. 2016-10-03 12:13:13.
確定! 回上一頁