
debug
fly_Xiaoma
技术分享,技术学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fiddler自动保存抓到的json数据
1. 打开fiddler后台脚本代码#输入指令,打开脚本代码crtl+ r2. 替换调OnBeforeResponse(oSession: Session)这个函数(注意json数据是保存在E://spide//img这个路径下,也可自己定义) static function OnBeforeResponse(oSession: Session) { if (m_Hide304s && oSession.responseCode == 304) {原创 2020-08-17 11:43:34 · 6799 阅读 · 1 评论 -
float() argument must be a string or a number, not 'map'”错误
当调用filter函数时,控制台报错--float() argument must be a string or a number, not 'map'”调用代码: file_data = pd.read_csv('housing.data', header=None) # a = np.array([float(s) for s in str if s != '']) ...原创 2019-02-02 10:53:55 · 19099 阅读 · 0 评论 -
AttributeError: 'Series' object has no attribute 'reshape'
当代码运行到下面位置时:ss_y=preprocessing.StandardScaler()y=ss_y.fit_transform(y.reshape(-1,1))报错:Traceback (most recent call last): File "D:/machineLearning/demo3.py", line 67, in <module> ...原创 2019-02-03 17:40:35 · 6161 阅读 · 1 评论