The PyCharm run button is moved from left to right Forewordpycharm’s start button is on the left, you want to move it to the right Step View -> Appearance -> Toolbar 2022-03-14 #PyCharm
Use Matplotlib to draw simple charts 1. Draw line chart12345678910import matplotlib.pyplot as pltimport numpy as npx1 = np.arange(1, 10)y1 = x1y2 = x1 ** 2plt.plot(x1, y1)plt.plot(x1, y2)plt.show() 1234567import matplotlib.pyplot as pl 2022-03-11 #Matplotlib
Python What Does ‘u', 'r', 'b' Mean in Front of a String 1. ‘u’ means UnicodeThe ‘u’ in front of a string means the string is a Unicode string. 12hello_rus = u"Привет, мир"hello_rus In Python 2.x, a Unicode string is marked with ‘u’. However, in P 2022-02-25 #Python
How does pandas read data Pandas need to read table type data. Type of data Description Pandas read method csv、tsv、txt Comma-delimited, tab-delimited plain text file pd.read_csv excel xls or xlsx File pd.read_excel m 2022-02-25 #Pandas
pd.to_datetime() Time Processing Function Official Documentationhttps://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html pd.to_datetime()pandas.to_datetime(arg, errors=’raise’, dayfirst=False, yearfirst=False, utc 2022-02-25 #Pandas
Docker v2ray Client 1. Docker pull1docker pull v2fly/v2fly-core 2. Configuration file config.json1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "inbounds": [ 2022-02-25 #Docker
Adding OpenCV 4.5.5 to Visual Studio 2022 Environment Windows 10 (64-bit) Visual Studio 2022 1. Download and extract the pre-built libraryDownload the latest binary from opencv’s Github repository.Release files for 4.2.0 are listed at https: 2022-02-24 #OpenCV
How to install gcc in Windows Installation MinGW official website is now down (as of 24th March 2021). Hence, instead of their official website, download from MinGW SourceForge page Look for mingw-get-setup.exe for downloading. Do 2022-02-22 #gcc
NumPy array object 1. Recognize NumPy array objects123456789101112import numpy as np # import numpy toolkitdata = np.arange(12).reshape(3, 4) # Create an array with 3 rows and 4 columnsprint("data:\n", data, 2022-02-22 #NumPy
MATLAB Quick start Create matrix123456% Direct methoda = [1, 2, 3; 4, 5, 6; 7, 8, 9];% colon 1D matrix (start : step size : end) The step size is 1, which can be omitted.b = 1:1:10; % 1,2,...10b = 1:10; % Equivalent t 2022-02-21 #MATLAB