NumPy参考 >例行程序 >String operations > numpy.char.splitlines
For each element in a, return a list of the lines in the element, breaking at line boundaries.
Calls str.splitlines element-wise.
Line breaks are not included in the resulting list unless keepends is given and true.
Array of list objects