2.1 特征工程 – 数据清理
案例1 转化数据类型 !git clone https://github.com/qiwsir/DataSet.git !ls DataSet 加载数据集 import pandas as pd import numpy as np df = pd.read_csv(./DataSet/sales-data/sales_data_types.csv) df df.info() help(df.astype) Cast a pandas object to a specified dtype dtype. # column.astype df['Customer Number'].
下载地址
用户评论