自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 问答 (1)
  • 收藏
  • 关注

原创 【已解决】pandas_reindex 将dataframe中的值转为里nan

问题:需要重新定义dataframe的index,使用reindex后原dataframe的值全部变为nandf.reindex(index_list)原因分析:参考official docConform Series/DataFrame to new index with optional filling logic.Places NA/NaN in locations having no value in the previous index. A new object is produ

2020-12-29 09:46:28 2385 3

原创 imutils简介

imutils简介pypi.org/project/imutilsimutils是Adrian Rosebrock开发的一个python工具包,它整合了opencv、numpy和matplotlib的相关操作,主要是用来进行图形图像的处理,如图像的平移、旋转、缩放、骨架提取、显示等等,后期又加入了针对视频的处理,如摄像头、本地文件等。imutils同时支持python2和python3。pip3 install imutils -i http://pypi.douban.com/simple --tr

2020-12-24 23:23:53 5255

原创 【解决】nltk.download()报错:errno54: connection reset by peer

报错详情>>> nltk.download('')[nltk_data] Error loading : <urlopen error [Errno 54] Connection reset[nltk_data] by peer>解决方案离线安装NLTK Data文件1.下载NLTK DataGithub https://github.com/nltk/nltk_data/tree/gh-pages 下载得到nltk_data-gh-pages.zip

2020-12-24 23:23:00 1611 1

原创 python--nltk库预处理德语文本

标准化文本:import nltkfrom nltk.corpus import stopwordsset(stopwords.words('german'))德语停止词:NLTK词形还原(Lemmatization)NLTK用法总结

2020-12-24 11:19:46 1468 4

原创 使用python 调用MoviePy制作GIF动图

MoviePyMoviePy (full documentation) is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom effects. See the gallery for some examples of us

2020-12-22 18:27:37 1785 1

原创 ERROR: Cannot uninstall ‘imageio‘. It is a distutils installed project and thus we cannot accurately

安装moviepy时报错:Installing collected packages: imageio-ffmpeg, imageio, MoviePy Attempting uninstall: imageio Found existing installation: imageio 2.4.1ERROR: Cannot uninstall ‘imageio’. It is a distutils installed project and thus we cannot accurate

2020-12-22 14:49:22 988

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除