image_output_1.png
import pandas as pd

df_train = pd.read_csv('/kaggle/input/house-prices-advanced-regression-techniques/train.csv')
df_train.shape

print(set(df_train.Id))
idsUnique = len(set(df_train.Id))
idsTotal = df_train.shape[0]
idsDupli = idsTotal - idsUnique
df_train.drop('Id', axis=1, inplace=True)
df_train.head()