title: Is there a way to generate the dtypes as a dictionary in pandas?
body: <p>When typing <code>df.dtypes</code>, we have the list of types.
  However, is there a simple way to get the output as </p>
  
  <pre><code>{'col1': np.float32, ...}
  </code></pre>
  
  <p>or do I need to code a function myself?</p>