title: pandas to_csv() fails to save the results
body: <p>I am using Pandas for creating a data frame that reads values from a comma separated file initially. The CSV file contains a dataset related to the employees. The data from the csv file is normalized between the range of 0-1 using MinMaxScaler. The normalization step works fine and the print statement prints out the normalizaed results of the attributes. But when I try to save these results (normalized values) against each attribute in a new CSV file, it creates a new file "Employees_modified" with the same values as that of the "Employees" dataset that were given as input to the MinMaxScaler function. I am new to Pandas and couldn't figure out where possibly is the mistake.
  My code is given below:</p>
  
  <pre><code>import pandas as pd
  from sklearn.preprocessing import MinMaxScaler
  dframe = pd.read_csv('Employees.csv')
  one_scaler = MinMaxScaler(feature_range=(0, 1))
  one_scaler.partial_fit(dframe)
  a_scaled = one_scaler.transform(dframe)
  print(a_scaled)
  dframe.to_csv('Employees_modified.csv')
  </code></pre>
  
  <p>I want to save normalized values in my Employees_modified file but the results are being lost somewhere in between.</p>