题解 | #格式化百度爬虫数据#
格式化百度爬虫数据
https://www.nowcoder.com/practice/fd6ed621d6394aceadf2ab42252e876c
import numpy as np narray = np.loadtxt('Spider.csv',delimiter=',',dtype=str) res = np.char.capitalize(narray) print(res.flatten(order='C'))
格式化百度爬虫数据
https://www.nowcoder.com/practice/fd6ed621d6394aceadf2ab42252e876c
import numpy as np narray = np.loadtxt('Spider.csv',delimiter=',',dtype=str) res = np.char.capitalize(narray) print(res.flatten(order='C'))
相关推荐