numpy.chararray.flat的使用
numpy.chararray.flat开始一直没明白是什么意思,其实很简单,就是将2维的数组转换成一维。numpy的文档中也说了:A 1-D iterator over the array.This is a numpy.flatiter instance, which acts similarly to, but is not a subclass of, Python’s