240 发简信
IP属地:北京
  • convert a series or a column to integer.

    1. Query the columntitanic_df['Embarked'][titanic_df['Embarked'] =='S'] = 0titanic_df['...

  • LabelEncoder和OneHotEncoder

    简单来说 LabelEncoder 是对不连续的数字或者文本进行编号 from sklearn.preprocessing import LabelEncoderle = L...