点击运行
import numpy as np # 操作字符串 print (np.char.join(':','jiyik')) # 指定多个分隔符操作数组元素 print (np.char.join([':','-'],['jiyik','google']))
运行结果 :
正在执行...