# Feature scaling example scaler = StandardScaler() df[['latitude', 'longitude']] = scaler.fit_transform(df[['latitude', 'longitude']])