title: Python pandas read_csv dtype object empty csv
body: <p>I want to read some CSV files from a folder and I don't know the contents of the CSV files. Some CSV has no data rows but all has the same header row. I want to read these CSV files into a dataframe in which all coloumns' datatype is <code>object</code>. How can I do this in one line? This throws an exception at empty CSV-s (in Python 2.7.10, pandas 0.17.1):</p>
  
  <pre><code>df = pd.read_csv('my.csv', dtype=object)
  
  AttributeError: type object 'object' has no attribute 'items'
  </code></pre>
  
  <p>At empty CSV files I get <code>object</code> datatypes if I delete the <code>dtype=object</code> parameter. It's funny... If the CSV has minimum one data row, the above code works perfectly.</p>