title: Proper way of writing and reading Dataframe to file in Python
body: <p>I would like to write and later read a dataframe in Python.</p>
  
  <pre><code>df_final.to_csv(self.get_local_file_path(hash,dataset_name), sep='\t', encoding='utf8')
  ...
  df_final = pd.read_table(self.get_local_file_path(hash,dataset_name), encoding='utf8',index_col=[0,1])
  </code></pre>
  
  <p>But then I get: </p>
  
  <blockquote>
    <p>sys:1: DtypeWarning: Columns (7,17,28) have mixed types. Specify dtype
    option on import or set low_memory=False.</p>
  </blockquote>
  
  <p>I found this <a href="https://stackoverflow.com/questions/24251219/pandas-read-csv-low-memory-and-dtype-options">question</a>. Which in the bottom line says I should specify the field types when I read the file because "low_memory" is deprecated... I find it very inefficient.</p>
  
  <p>Isn't there a simple way to write &amp; later read a Dataframe? I don't care about the human-readability of the file.</p>