1、去重
在训练神经网络模型首先对数据进行处理
import pandas as pd
df = pd.read_csv("./data.csv")
df.drop_duplicates(subset=['key_1', 'key_2'], keep="last", inplace=True)
1、去重
在训练神经网络模型首先对数据进行处理
import pandas as pd
df = pd.read_csv("./data.csv")
df.drop_duplicates(subset=['key_1', 'key_2'], keep="last", inplace=True)