title: How to select all elements from column that it is a list in DataFrame in python?
body: <p>I am working with a dictionary that the value for a key consists of list of lists. I convert it to DataFrame and the output is as below:</p>
  <pre><code>nodes_labels = DataFrame.from_dict(nodes_neighbors, orient='index')
  nodes_labels.columns = ['Neighbor','Degree', 'max_Similar', 'NI_Label']
  
  
                                               Neighbor  ...                      NI_Label
  0   [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 17, 1...  ...     [2.203889356257777, 0, 1]
  3                                [0, 1, 2, 7, 12, 13]  ...    [2.0422979797979797, 0, 1]
  33  [8, 9, 13, 14, 15, 18, 19, 20, 22, 23, 26, 27,...  ...   [1.8302700210614677, 32, 0]
  1                    [0, 2, 3, 7, 13, 17, 19, 21, 30]  ...    [1.8283661952083003, 0, 1]
  32     [2, 8, 14, 15, 18, 20, 22, 23, 29, 30, 31, 33]  ...     [1.74376221404619, 32, 0]
  7                                        [0, 1, 2, 3]  ...    [1.3425824175824175, 0, 1]
  2                  [0, 1, 3, 7, 8, 9, 13, 27, 28, 32]  ...    [1.2265813134234187, 0, 1]
  13                                   [0, 1, 2, 3, 33]  ...    [0.8298701298701299, 0, 1]
  29                                   [23, 26, 32, 33]  ...   [0.5291005291005291, 32, 0]
  
  </code></pre>
  <p>I want to select column <code>NI_Label</code> and from it i want to select the second elements in lists for all rows. the result i want is as below:</p>
  <pre><code>       NI_Label
  0        0
  3        0
  33       32
  1        0
  32       32
  7        0
  2        0
  13       0
  29       32
  </code></pre>
  <p>I just can select the column <code>NI_Label</code> but i don't know how can i select second element in list for all rows</p>