title: iterating in a list of dataframe names with pandas
body: <p>I have some dataframes defined, they have data (floats) and their names are: </p>
  
  <pre><code>df_names = ['df_correl_USDCOP','df_correl_USDCLP','df_correl_USDRUB']
  </code></pre>
  
  <p>I also have defined the following lists to be able to plot using a loop:</p>
  
  <pre><code>figures = ['fig'+str(i+1) for i in range(len(df_names))]
  axes    = ['ax'+str(i+1) for i in range(len(df_names))]
  
  for fig, ax, name in zip(figures,axes,df_names):
      fig,ax = plt.subplots(figsize=(14,10))
      ax.plot(name[:],lw=4)
  </code></pre>
  
  <p>when doing this, an error appears as in the loop the dataframe is not recognized as such, but just as a string. </p>
  
  <pre><code>ValueError: could not convert string to float: df_correl_USDCOP
  </code></pre>
  
  <p>I was checking this answer, <a href="https://stackoverflow.com/questions/36601956/how-can-i-iterate-through-multiple-dataframes-to-select-a-column-in-each-in-pyth/36602132">How can I iterate through multiple dataframes to select a column in each in python?</a> but wasn't able to apply it to this example. </p>
  
  <p>The question is not regarding the plotting itself, but how to iterate trough the dataframe name list and get the "actual" dataframe and not a string with its name. </p>