title: Python - Dataframe names for a function expression
body: <p>New to Python.</p>
  
  <p>I have a function which requires a number of pandas dataframes. eg:</p>
  
  <pre><code>def funct(a,b,c,d)
  </code></pre>
  
  <p>I have a list which contains the dataframe names. eg:</p>
  
  <pre><code>datanames = ['a','b','c','d']
  </code></pre>
  
  <p>When I unpack the list to call the function it treats them a strings, not dataframes. eg:</p>
  
  <pre><code>funct(*datanames)
  </code></pre>
  
  <p>Is there anyway of <code>unpacking a list of dataframe</code> names so that they are recognised as <code>dataframes</code>?</p>
  
  <p>Thanks for your help.</p>