title: Python Pandas: How to get column values to be a list?
body: <p>I have a dataframe with one column and 20 rows. I want to use </p>
  
  <pre><code>dataframe[column].apply(lambda x : some_func(x))
  </code></pre>
  
  <p>to get second column. The function returns a list. Pandas is not giving me what I want. It is filling the second column with NaN instead of the list items that some_func() is returning. </p>
  
  <p>Is there a clever or simple way to fix this?</p>