![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
随笔
文章平均质量分 76
树街猫
这个作者很懒,什么都没留下…
展开
-
vue-devtools安装【chrome浏览器】
vue-devtools安装【chrome浏览器】官网下载下载方法一 git clone下载方法二 压缩包安装安装yarn配置参考链接官网下载guthub地址:vue-devtools如果可以科学上网,那可以直接安装chrome插件,地址在github中也有给出: chrome商店如果不能科学上网,那就离线安装吧。常用下载方法就是下面图标识的两种,方法一适合Git已经安装的朋友,方法二会下载一个压缩包。下载方法一 git clone创建一个空的文件夹(或者选择一个文件夹),右键选择Git原创 2021-03-03 20:05:38 · 405 阅读 · 1 评论 -
解决anaconda3下的jupyter notebook在命令行中无法运行问题
问题描述:命令行输入jupyter notebook返回报错报错界面:Traceback (most recent call last): File "D:\dev_tool\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in <module> from notebook.notebookapp impor...原创 2019-12-29 12:51:22 · 12921 阅读 · 2 评论 -
根据txt/excel查找指定文件夹下的文件是否存在【python】
一次性弄了几百个文件,最后发现有文件缺了,太懒了,写个脚本让机器去弥补我的懒惰,特此纪念老周交给我们的任务。#!/usr/bin/python# -*-coding:utf-8-*-import osif __name__ == '__main__': path = "你的指定文件夹路径" file = os.listdir(path) # 返回文件夹中所有文件名...原创 2019-08-26 14:11:48 · 411 阅读 · 0 评论 -
解决TypeError: __init__() got an unexpected keyword argument 'n_folds' /'n_splits'问题
关于解决“泰坦尼克船员获救数据分析”的KFold()报错问题。报错信息:TypeError: __init__() got an unexpected keyword argument 'n_folds'报错代码主体如下:#Import the linear regression classfrom sklearn.linear_model import LinearRegression...原创 2019-09-15 22:48:34 · 17736 阅读 · 7 评论 -
解决FutureWarning: Default solver will be changed to 'lbfgs' in 0.22问题
代码:from sklearn import model_selectionfrom sklearn.linear_model import LogisticRegression# Initialize our algorithmalg = LogisticRegression(random_state=1)# Change to alg = LogisticRegression(ran...原创 2019-09-16 14:03:14 · 1123 阅读 · 0 评论 -
解决jupyter notebook中出现"Figure size 640x480 with 1 Axes"不显示图片的方案
问题代码:(可忽略代码)import numpy as npfrom sklearn.feature_selection import SelectKBest, f_classifimport matplotlib.pyplot as pltpredictors = ["Pclass", "Sex", "Age", "SibSp", "Parch", "Fare", "Embarked",...原创 2019-09-16 14:15:17 · 22290 阅读 · 7 评论 -
解决FutureWarning: using a dict on a Series for aggregation is deprecated and will be removed方案
报错信息:FutureWarning: using a dict on a Series for aggregation is deprecated and will be removed in a future version. Use named aggregation instead. >>> grouper.agg(name_1=func_1, name_2=func_...原创 2019-09-19 20:43:31 · 1843 阅读 · 0 评论