240
a56爆大奖在线娱乐爱毛绒绒~~~~~~~
摘要: Python - qiniu模块实例 import qiniu import requests import json ak = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' sk = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ###构建七牛的验证对象 阅读全文
posted @ 2024-06-03 16:25 水开白 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 数据分析实例 Pandas类 用pandas导出豆瓣评论 import requests import pandas as pd from bs4 import BeautifulSoup link = 'https://movie.douban.com/subject/36208094/comments' he 阅读全文
posted @ 2024-05-21 16:47 水开白 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 数据分析 - Pandas模块 pandas是以NumPy为基础进行设计的,因此pandas不仅能与其他大多数模块兼容,而且还能借力NumPy模块强大的计算能力,因此,在数据分析中pandas和NumPy这两个模块经常是一起使用的。 为了数据分析的需要,pandas既不使用Python已有的内置数据结构,也不使用其他库的数据结构, 阅读全文
posted @ 2024-05-07 15:30 水开白 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 数据分析 - Matplotlib模块 简介 Pyplot 是 Matplotlib 的子库,提供了和 MATLAB 类似的绘图 API。 Pyplot 是常用的绘图模块,能很方便让用户绘制 2D 图表。 Pyplot 包含一系列绘图函数的相关函数,a56爆大奖在线娱乐函数会对当前的图像进行一些修改,例如:给图像加上标记,生新的图像,在图像中产生新的绘图 阅读全文
posted @ 2024-04-02 17:10 水开白 阅读(7) 评论(0) 推荐(0) 编辑
摘要: error:Cannot run program "D:\P CreateProcess error=193, %1 不是有效的 Win32 设置 python SDK。 此 SDK 似乎无效。 这俩个原因都是相应解释器目录下python.exe不能用了,重新拷贝一份过来就行,可以从Python的安 阅读全文
posted @ 2024-03-18 16:34 水开白 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 数据分析 - NumPy模块 安装 pip install numpy 数组定义 数组对象ndarray NumPy 最重要的一个特点是其 N 维数组对象 ndarray,它是一系列同类型数据的集合,以 0 下标为开始进行集合中元素的索引 ndarray 对象是用于存放同类型元素的多维数组。 ndarray 中的a56爆大奖在线娱乐元素在内存中 阅读全文
posted @ 2024-03-16 22:15 水开白 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 数据分析 - 理论简介 什么是数据分析 数据分析是将数学、统计学理论结合科学的统计分析方法(如线性回归分析、聚类分析、方差分析、时间序列分析等)对数据库中的数据、Excel数据、收集的大量数据、网页抓取的数据等进行分析,从中提取有价值的信息形成结论并进行展示的过程。数据分析的目的在于将隐藏在一大堆看似杂乱无章的数据背后的有 阅读全文
posted @ 2024-02-26 16:10 水开白 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Python处理Word,Excel,PDF openpyxl模块处理Excel表 安装 以下命令意思是:指定D盘下的Python解释器用豆瓣的源安装openpyxl模块 D:\PycharmProjects\Study\venv\Scripts\python.exe -m pip install openpyxl -i http://pypi 阅读全文
posted @ 2024-02-22 17:01 水开白 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Selenium自动化实例 操作下拉问题 这两篇主要是解决同一个问题:浏览器操作下拉问题 第一篇下拉显示更多内容 from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdrive 阅读全文
posted @ 2024-01-23 16:39 水开白 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Python模块-re模块实例 正则就是用一些具有特殊含义的符号组合到一起(称为正则表达式)来描述字符或者字符串的方法。或者说:正则就是用来描述一类事物的规则。(在Python中)它内嵌在Python中,并通过 re 模块实现。 import re \w与\W \w匹配字母数字及下划线 re.findall('\w','hello 阅读全文
posted @ 2023-08-07 17:19 水开白 阅读(19) 评论(0) 推荐(0) 编辑