import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randint(0.0, 100.0, size=(10, 4)), index=list(range(
    10, 20)), columns=['col1', 'col2', 'col3', 'col4'], dtype='float64')
How to use sklearn fit_transform with pandas and return dataframe instead of numpy array?