title: Reading a csv file with a list of elements into pandas dataframe
body: <p>I have a CSV file in the following format:</p>
  
  <pre><code>index      A      B      C
  ind1    [1,2,3][3,4,5][6,7,8]
  ind2    [1,4,3,4,8][9,1,2,1,4][3,7,3,5,9]
  ind3    [2,8][1,8][1,5]
  </code></pre>
  
  <p>where each cell (say A,ind1)has a list [1,2,3].
  When I import this into a dataframe:</p>
  
  <pre><code>df=pd.read_csv('filename.csv')
  </code></pre>
  
  <p>I get a dataframe in the same format as the csv, however, the list in individual cell is imported as a string.</p>
  
  <p>Say I index the first element of ind1 column A
  <code>df.iloc[0]['A']</code> gives me <code>'['</code> instead of <code>1</code></p>
  
  <p>basically it is reading <code>[1,2,3]</code> as one long string instead of reading it as a list.</p>
  
  <p>How do I convert the values in all the cells into list?</p>