title: How can I extract from a list of pandas dataframes, a specific column?
body: <p>I created a list of dataframes by iterating through multiple csv files and appending these to a list, like so:</p>
  
  <pre><code>files = "foldername/*.csv"
  content = glob.glob(files)
  
  dataframes = []
  for file in content:
      dataframes.append(pd.read_csv(file))
  </code></pre>
  
  <p><strong>Current output</strong>: a list containing all these dataframes. (I will not display the list here because it is very large). </p>
  
  <p>I would like to extract column labelled as '3' of every listed dataframe. Each dataframe looks like this (this is the first dataframe of the list: </p>
  
  <p>[image of dataframe has been deleted, sorry for inconvenience]</p>
  
  <p><strong>Desired output</strong>: Accessing column '3' of each dataframe. </p>
  
  <p><strong>Current (unsuccessful) code</strong>: Here I am just trying to see if I can print column '3' of each listed dataframe.</p>
  
  <pre><code>for df in dataframes:
      print(df['3'])
  </code></pre>