![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python小知识
awishw
1024改变自己
展开
-
【python】makemigrations 错误 No changes detected(已解决)
错误:No changes detected 解决方案: 注释掉抽象声明。原创 2020-07-15 12:37:55 · 761 阅读 · 0 评论 -
【python】数据分析学习(投资组合)
学习视频:https://www.bilibili.com/video/BV1Pa4y1Y7pm?t=22 投资组合 导入所需库: import yfinance as yf import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns sns.set(font='SimHei',rc={'figure.figsize':(15,9)}) 获取数据: tickers =原创 2020-07-30 19:20:04 · 1460 阅读 · 0 评论 -
【python】numpy模块学习(超级基础)
numpy 学习 import numpy as np 一些基础函数 #读取txt文件 txt = np.genfromtxt('test.txt',delimiter='',dtype=str,encoding='utf-8') #生成矩阵 vector = np.array([5,10,23,45,2]) #一维 vector = np.array([[5,10,23,45,2],[3,20,43,45,2],[5,10,43,45,2]]) #二维 vector[1][1] = 2原创 2020-07-29 21:00:01 · 192 阅读 · 0 评论 -
【python】logging模块学习02_Scrapy框架内的日志系统配置
https://www.cnblogs.com/sufei-duoduo/p/5880988.html(较多理论) https://blog.csdn.net/weixin_45459224/article/details/100142537?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=distribute.pc原创 2020-07-24 17:26:59 · 117 阅读 · 0 评论 -
【python】logging 模块学习记录01_基础学习
目录 1.logging是干什么用的 2.如何使用 logging日志框架 1)loggers 2)Handlers 3)Filters 4) Formatters 几个重要函数: logging.basicConfig函数各参数: logging.getLogger([name]) logging.getLevelName(lvl) logging.shutdown() Logger.setLevel(lvl): Logger.debug(msg[,*args[, **...原创 2020-07-24 16:29:27 · 534 阅读 · 0 评论 -
Scrapy爬虫学习记录
Scrapy爬虫框架之入门篇:https://www.jianshu.com/p/b2ca839afdb2原创 2020-07-24 14:14:09 · 79 阅读 · 0 评论 -
【python】临时换源
转载 2020-07-24 14:04:04 · 812 阅读 · 0 评论