title: Converting from Pandas dataframe to TensorFlow tensor object
body: <p>I'm still new to Python, Machine Learning and TensorFlow, but doing my best to jump right in head-first. I could use some help though.</p>
  
  <p>My data is currently in a Pandas dataframe. How can I convert this to TensorFlow object? I've tried</p>
  
  <pre><code>dataVar_tensor = tf.constant(dataVar)
  depth_tensor = tf.constant(depth)
  </code></pre>
  
  <p>But, I get errors <code>[15780 rows x 9 columns] - got shape [15780, 9], but wanted []</code>.</p>
  
  <p>I'm sure this is probably a straightforward question, but I could really use the help.</p>
  
  <p>Many thanks</p>
  
  <p>ps. I'm running tensorflow 0.12 with Anaconda Python 3.5 on Windows 10 </p>