#/bin/bash
# Check if user is root
if [ $(id -u) ! "0" ]; thenecho "Error: You must be root to run this script, please use root"exit 1
fi
echo 安装LibreOffice
cd /home/
tar -zxvf LibreOffice_6.3.3_Linux_x86-64_rpm.tar.gz
cd /home/LibreO…
数据缺失值处理
In [1]:
import pandas as pd
import numpy as np
from sklearn.ensemble import RandomForestRegressor,RandomForestClassifier
from sklearn.preprocessing import StandardScaler
from sklearn.impute import SimpleImputer
In [2]:
df pd.DataFrame()
df[…