pandas calculates the yield of main contract

Data: Link: https://pan.baidu.com/s/1XGfITsSWdP_c1_wFepUs0A   Extraction code: b880 Special treatment: Considering that the data of different contracts will vary greatly during the month change, avoid using the data of two contracts at the time point of the month change when calculating the yield, and process the data as follows: Proces ...

Added by Morpheus on Sat, 22 Jan 2022 10:20:09 +0200

Concurrent programming - Concurrent Programming

Introduction Previously, we learned the concepts of thread and process, and learned that * * process is the smallest unit of resource allocation in the operating system, and thread is the smallest unit of CPU scheduling** In principle, we have improved the utilization of CPU a lot. However, we know that whether creating multiple processes or c ...

Added by sepodati on Sat, 22 Jan 2022 07:51:24 +0200

Python Series 50 built-in module: logging

Introduction to logging Python's built-in module logging provides logging related functions. It is a very powerful and commonly used module. Official documents Its use may be complicated if you ask the bottom of the matter. Therefore, only one of the most convenient use methods is introduced in this chapter, and other use methods will not be ...

Added by nadeauz on Sat, 22 Jan 2022 04:39:10 +0200

Understanding object-oriented programming

preface The article resources for reference are http://www.coolpython.net/python_primary/oop/polymorphism.html Object Oriented Programming -- Object Oriented Programming, referred to as OOP. Another corresponding programming idea is process oriented programming. OOP comes from nature. In nature, we know classes and examples, such as reptil ...

Added by devarmagan on Sat, 22 Jan 2022 03:55:17 +0200

Matplotlib data visualization related knowledge

Matplotlib data visualization related knowledge 1, Matplotlib Foundation Python extension library Matplotlib relies on extension library numpy and standard library tkinter. It can draw various forms of graphics, such as line chart, scatter chart, pie chart, histogram, radar chart, etc., and the graphics quality can meet the publishing require ...

Added by akrocks_extreme on Sat, 22 Jan 2022 03:25:15 +0200

Nvidia Deepstream ultimate details: 3 Deepstream Python RTSP video output display

Nvidia Deepstream ultimate details: 3 Deepstream Python RTSP video output display This chapter will detail the official case: deepstream_test_1_rtsp_out.py for interpretation. deepstream_ test_ 1_ rtsp_ out. The main function of Py is to input RTSP format video stream. When we successfully run the Python file, we won't see the video on the scr ...

Added by amazinggrace1983 on Sat, 22 Jan 2022 03:20:10 +0200

PySide2 dynamic / static loading UI and program release

Python is now a "household name" term. It may be used in many industries, including the most powerful artificial intelligence (AI) and big data. Today we are going to introduce the implementation of Python graphical interface (GUI). Remember that when Python first came out, it was very inconvenient to develop a powerful and beautiful ...

Added by DaveLinger on Sat, 22 Jan 2022 02:46:39 +0200

Run yolov5 on Xavier and solve the pytorch version compatibility problem

This article mainly describes how I r u n yolov5:v4.0 on Jetson AGX Xavier 0 My Xavier configuration: JetPack: 4.3cuda:10.0python:3.6.9 YOLOv5 The download training reasoning here runs on the server. Download yolov5: git clone https://github.com/Oswells/yolov5.git Note: This is fork ultralytics/**yolov5 **Yolo V5, version 4.0 of the gre ...

Added by jstgermain on Sat, 22 Jan 2022 02:22:59 +0200

VulnHub-GoldenEye-1 learning notes

Target address: https://www.vulnhub.com/entry/goldeneye-1,240/ Goal: get root & find flag txt Author: ned Hogg 007 Time: July 7, 2021 1, Information collection Open kali virtual machine and target machine Golden Eye-v1, and both virtual machine networks are in NAT mode kali, check the local IP segment. Mine is 192.168.21.0/24 nma ...

Added by rline101 on Sat, 22 Jan 2022 01:39:19 +0200

Color space of OpenCV (cv2.cvtColor)

This blog will introduce three color spaces (RGB, HSV, Lab) in OpenCV and their conversion, and discuss the key role of lighting conditions and color space in computer vision applications. The key point is to always consider lighting conditions before writing code! In general, it is easier to control lighting conditions than to write code ...

Added by shibobo12 on Sat, 22 Jan 2022 01:35:10 +0200