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
Installing conda packages Referenceshttps://docs.anaconda.com/anaconda/user-guide/tasks/install-packages/ Installing a conda packageEnter the command: 1conda install package-name Installing specific versions of conda packages 2022-02-21 #conda
Changing the Default SSH Port 1. Log on to the server as an administrator.2. Open the SSH configuration file sshd_config with the text editor vi:1vi /etc/ssh/sshd_config 3. Search for the entry Port 22.4. Replace port 22 with a p 2022-02-21 #Linux #SSH
Installing TensorFlow Referenceshttps://docs.anaconda.com/anaconda/user-guide/tasks/tensorflow/ Install TensorFlow1. Download and install Anaconda or the smaller Miniconda.2. On Windows open the Start menu and open an Anac 2022-02-17 #TensorFlow