[Solved]: Data with input dtype int64 were all converted to float64 by StandardScaler.

Use df.info() to get info about your Data Frame

There is problem, dtype of some column is not float.

You need cast it by astype:

df['colname'] = df['colname'].astype(float)