kaggle:住宅価格の予測(scikit-learn に突っ込む )~ Final
前回の失敗を踏まえ、地域名を整理する。
Neighbors = df_train['Neighborhood'].value_counts()n_agg = 0n_total = len(df_train)for i in range(len(Neighbors)): n_agg += Neighbors[i] print('{} : {} : {} : {}: {:.2f}'.format(i, Neighbors.index[i], Neighbors[i],