摘要: ##补充 np.linspace(1, 10, 20) #20个数据 默认endpoint=true 默认生成的数据量个数为50个,但这里我们指定20 numpy.linspace使用详解 numpy.linspace(start, stop, num=50, endpoint=True, rets 阅读全文
posted @ 2020-11-11 13:09 guofen3399 阅读(775) 评论(0) 推荐(0)
摘要: Pandas是Python处理数据分析包。当需要处理大量数据时能比EXCEL提供更强大的运行效率。可以与读入,写出如:CSV,CST,Excel,MySQL等数据存储方式。 任务: 本次将要介绍的是如何利用Pandas以及一些辅助包来: 1. 将Python中的DataFrame数据写入MySQL 阅读全文
posted @ 2020-11-11 10:34 guofen3399 阅读(1009) 评论(0) 推荐(0)
摘要: contextily库: context geo tiles in Python (geo瓦片) 安装 contextily:conda install contextily --channel conda-forge莫名其妙就安装好了 官网上说安装此库的依赖包含: Dependencies mer 阅读全文
posted @ 2020-11-04 10:48 guofen3399 阅读(633) 评论(0) 推荐(0)
摘要: SQL架构 编写一个 SQL 查询,查找所有至少连续出现三次的数字。 + + + | Id | Num | + + + | 1 | 1 | | 2 | 1 | | 3 | 1 | | 4 | 2 | | 5 | 1 | | 6 | 2 | | 7 | 2 | + + + 例如,给定上面的 Logs  阅读全文
posted @ 2020-10-29 16:09 guofen3399 阅读(109) 评论(0) 推荐(0)
摘要: 表 Weather + + +| Column Name | Type |+ + +| id | int || recordDate | date || temperature | int |+ + +id 是这个表的主键该表包含特定日期的温度信息 编写一个 SQL 查询,来查找与之前(昨天的)日期 阅读全文
posted @ 2020-10-29 15:57 guofen3399 阅读(61) 评论(0) 推荐(0)
摘要: 编写一个 SQL 查询来实现分数排名。 如果两个分数相同,则两个分数排名(Rank)相同。请注意,平分后的下一个名次应该是下一个连续的整数值。换句话说,名次之间不应该有“间隔”。 + + +| Id | Score |+ + +| 1 | 3.50 || 2 | 3.65 || 3 | 4.00 | 阅读全文
posted @ 2020-10-29 15:27 guofen3399 阅读(70) 评论(0) 推荐(0)
摘要: 避免报错:找不到webpack 先安装webpack全局安装: npm install webpack -g npm install webpack-cli -g 1.下载vue-devtools插件 地址 https://github.com/vuejs/vue-devtools 2.解压vue- 阅读全文
posted @ 2020-10-24 13:24 guofen3399 阅读(238) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch 阅读全文
posted @ 2020-10-18 16:51 guofen3399 阅读(260) 评论(0) 推荐(0)
摘要: 注释掉:E:\anaconda\envs\TF_2C\Lib\site-packages\pip\_vendor\urllib3\response.py中的这两行: #if brotli is not None: # DECODER_ERROR_CLASSES += (brotli.error,) 阅读全文
posted @ 2020-09-07 13:11 guofen3399 阅读(1768) 评论(0) 推荐(0)
摘要: import nltk ##conda install nltk 具体记不清了,需要点击弹窗左侧的stopwords,然后点击右下角的download from nltk.corpus import stopwords stopwords = stopwords.words("english") p 阅读全文
posted @ 2020-09-03 14:53 guofen3399 阅读(557) 评论(0) 推荐(0)