title: AttributeError:'list' object has no attribute 'size'
body: <p>Here I am jus extracting a csv file and reading the "TV"values, calculating average and printing using tensorflow. But I am getting "AttributError" list has no attribute 'size' ". Can anyone please help me? Thanks in advance.</p>
  
  <pre><code> import tensorflow as tf
   import pandas
   csv = pandas.read_csv("Advertising.csv")["TV"]
   t = tf.constant(list(csv))
   r = tf.reduce_mean(t)
   sess = tf.Session()
   s = list(csv).size
   fill = tf.fill([s],r)
   f = sess.run(fill)
   print(f)
  </code></pre>