application_vnd.jupyter.stderr_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = pd.read_csv('/kaggle/input/list-of-world-cities-by-population-density/List of world cities by population density.csv')

def preprocess_inputs(df):
    df = df.copy()
    drop_cols = ['Unnamed: 0']
    df = df.drop(drop_cols, axis=1)
    df[Area]
    return df

X = preprocess_inputs(data)
X.head()