Logistic Regression - Data Preprocessing

in given example we are using below code.
sc = StandardScaler()
x_train = sc.fit(x_train)
Here we have only 2 columns, so we can use directly like above code. but if we have more than 2 columns and they are not together or not in sequence then how to do standardization.

It will fit all the data. features does not matter