
数据处理
文章平均质量分 83
miracleo_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【pyinstaller】打包方法介绍,以及一些报错的解决方法
文章目录一、打包方法1、pyinstaler参数介绍2、打包单个.py文件3、打包多个.py文件二、出现的问题1、pandas打包时报错:RecursionError: maximum recursion depth exceeded while calling a Python object(1)问题(2)原因(3)解决方法2、如果出现如pandas、matplotlib、numpy无法导入的问题3、pyinstaller报错UnicodeDecodeError: ‘utf-8‘ codec can‘t原创 2021-09-02 20:39:35 · 3724 阅读 · 1 评论 -
【pandas】技巧用法汇总(数据的创建、保存、增加、删除、查找、修改)
文章目录零、pandas print() 完整打印输出方法一、pd.Series()1、Series 创建(1) pd.Series([list],index=[list])(2) pd.Series(np.arange())(3) pd.Series({dict})(4) 可以通过DataFrame中某一行或者某一列创建序列二、pd.Dataframe()1、Dataframe的创建2、DataFrame的增加(1) 在pandas.DataFrame中添加一行(2) 在pandas.DataFrame中原创 2021-09-01 15:45:00 · 7234 阅读 · 2 评论 -
【python】获取大图片中两个点的具体坐标,并将图无损裁剪下来
文章目录一、原始图片二、取点的方法三、另一种取点的方法四、取点并裁剪图片参考 一、原始图片 二、取点的方法 point.py from PIL import Image from pylab import * Image.MAX_IMAGE_PIXELS = 100000000000 # im = array(Image.open('best_result.png')) im = array(Image.open('P1230315.JPG')) imshow(im) print('Please c原创 2021-03-31 23:32:35 · 1414 阅读 · 2 评论 -
【数据处理】xml的创建、读写问题
文章目录一、数据标注范例二、关于xml的创建、读写问题(1)xml的创建(2)在xml有根元素时写入(3)xml的读取参考 一、数据标注范例 <annotation> <folder>VOC2007</folder> <filename>DSC00142.JPG</filename> <source> <database>ezi</database> </so原创 2020-10-23 11:46:24 · 186 阅读 · 2 评论