• ## 0. [Python Programming] use Jupiter notebook to learn Python and quickly publish CSDN blog

Time：2022-1-12

catalogue Recommendation: jupyter notebook + CSDN blog matching learning mode 0. [Python Programming] getting started and learning related basic concepts Code and identifier identifier Python reserved word notes Lines and indents Import of packages Basic data type Recommendation: jupyter notebook + CSDN blog matching learning mode The mode is divided into two steps: usejupyter notebookWrite […]

• ## Some useful online tools (2)

Time：2022-1-12

Some useful online tools (2) Online tools This article continues with a similar article on some useful tools 1. Online Python （1）https://code.y444.cn/python （2）https://tool.lu/coderunner/ 2. Quantum computing related websites （1）https://zh.wikipedia.org/wiki/%E9%87%8F%E5%AD%90%E8%A8%88%E7%AE%97%E6%9A%A8%E9%87%8F%E5%AD%90%E4%BF%A1%E6%81%AF （2）https://s4plus.ustc.edu.cn/2018/1225/c17737a372334/page.htm 3. Some entertainment websites （1）https://www.ratoo.net/ （2）https://www.wangtaier.cn/post/152559.html （3）https://www.wangtaier.cn/ 4. Xiaojiaoya development website https://www.stepfpga.com/ The above are some useful online websites. I hope they can help you. […]

• ## Pytorch realizes sin function simulation

Time：2022-1-12

Pytorch realizes sin function simulation Article catalog Pytorch realizes sin function simulation 1、 Introduction 2、 The first method 3、 The second method 4、 Summary 1、 Introduction This paper aims to use two methods to realize the simulation of sin function. The specific simulation method is realized by machine learning. We use Python torch module for […]

• ## Python machine learning (I) – linear regression

Time：2022-1-12

The linear regression model belongs to the classical statistical model, and its application scenario isPredict a continuous numerical variable (dependent variable) based on known variables (independent variables), linear regression can usually be applied toStock price forecast、Revenue forecast、Advertising effect prediction、Sales performance forecastamong. Univariate linear regression: Basic concepts: Univariate linear regression is a method to analyze the […]

• ## Usage of @ lazyprop decorator in Python

Time：2022-1-12

install ? 1 pip install lazyprop Example 1 ? 1 2 3 4 5 6 7 8 9 10 11 12 from lazyprop import lazyprop class Foo(object):     def __init__(self):         self.load_count = 0     @lazyprop     def lazy(self):         self.load_count += 1 f = Foo() f.lazy f.lazy f.lazy print(f.load_count) Output: 1 Example 2 ? 1 2 3 4 5 […]

• ## Handling of page garbled code obtained by Python

Time：2022-1-12

When using requests module to obtain website data, website coding is a very troublesome problem. Generally, requests will automatically identify the website code. If the page does not specify a code, it will default to iso-8859-1 code. Something may go wrong at this time. Generally, there are several ways. The simplest is to artificially specify […]

• ## 10 Python data visualization libraries for multiple disciplines to help you make charts

Time：2022-1-12

preface The text and pictures of this article come from the network, only for learning and communication, and do not have any commercial purpose. If you have any questions, please contact us in time for handling. Author: lty beautiful life Link: https://blog.csdn.net/weixin_44208569 Today, we will introduce 10 Python data visualization libraries applicable to multiple disciplines, […]

• ## Python uses Baidu map to obtain the distance between the two places (with demo)

Time：2022-1-12

catalogue Baidu map open platform Introduce the required APIs Writing Python programs 1. Obtain the longitude and latitude of the corresponding location 2. Obtain the distance between the two places 3. Merge function calls 4. Carry out simple function test 5. Calculate the distance for batch locations in Excel Baidu map open platform After entering […]

• ## Advanced Python – numpy

Time：2022-1-11

Numpy, do it again Article catalog 1、 Properties of numpy 2、 Create array 3、 Numpy’s operation 4、 Random number generation and matrix statistics 5、 Numpy index 6、 Merge 7、 Split 8、 Deep and shallow copy coordinationmachine learningBetter to eat. import numpy as np 1、 Properties of numpy Ndim dimension Shape shape Dtype type Size size […]

• ## Graphic tutorial on the use of jupyter in pycharm

Time：2022-1-11

step 1. Installing jupyter pip install jupyter 2. Create a new IPython file 3. Start Jupiter notebook in terminal 4. Programming Write something to test, and the result should be as follows: print(1) Click Run! Just fill in the address above Supplement: install pychar and jupyter under Linux Python under Linux Default in centos7 Installing […]

• ## Select a specific IP address to access the website

Time：2022-1-11

Sometimes, when collecting data, the target website will have anti collection strategies. The most common method is to limit the frequency of IP access. The usual solution at this time is to use proxy IP. Some are solved by redialing the server and switching IP. Here is the method to redial and switch IP. To […]

• ## Detailed explanation of Python crawling weather data

Time：2022-1-11

preface The text and pictures of this article come from the network, only for learning and communication, and do not have any commercial purpose. If you have any questions, please contact us in time for handling. The following articles are from the python self-study guide   Just a few days ago, it was a comfortable […]