Update Day 1_Data_Preprocessing.md

This commit is contained in:
manufacturing1112
2022-04-06 18:00:20 +08:00
committed by GitHub
parent 6dd8fe05be
commit 6198d0585b

View File

@ -15,6 +15,7 @@ import pandas as pd
```
## 第2步导入数据集
```python
//随后一列是label
dataset = pd.read_csv('Data.csv')//读取csv文件
X = dataset.iloc[ : , :-1].values//.iloc[]
Y = dataset.iloc[ : , 3].values // : 全部行 or [a]第a行 or