- 博客(3)
- 收藏
- 关注
原创 报错:Expected 2D array, got scalar array instead
报错内容学习宋天龙老师的python数据化分析与运营发现这段代码没法运行ValueError: Expected 2D array, got scalar array instead:array=84610.Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.我们已经
2021-11-06 22:59:33 1978 1
原创 re.split方法和open对象函数read readline readlines
re.split方法注:使用前需要引入包(import re)功能:split能够按照所能匹配的字串将字符串进行切分,返回切分后的字符串列表形式:re.split(pattern, string[, maxsplit=0, flags=0])pattern:匹配的字符串string原文链接:https://blog.csdn.net/qq_31672701/article/details/100711585@TOC欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑
2021-11-06 22:05:44 115
原创 安装Numpy+MKL出错Found existing installation: numpy 1.15.4
安装Numpy+MKL出错Found existing installation: numpy 1.15.4在安装Numpy+MKL库的时候,报错安装环境错误提示原因及解决在安装Numpy+MKL库的时候,报错安装环境安装了python 3.7.1环境,安装了pandas库pandas-0.23.4;下载了numpy-1.15.4+mkl-cp37-cp37m-win_amd64.whl...
2018-11-24 17:27:36 3542 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人