python comes in split split VS numpy compare

Python SPLi T () is sliced by specifying a string delimiter, if the parameter value is specified num, num + 1 sub-string is separated

Inside the parameters str1.split (), can be a space, comma, what strings, the specific application with our regular expression

 

And numpy are split for split arrays

 

Guess you like

Origin www.cnblogs.com/ivyharding/p/11145110.html