title: Passing a pandas dataframe object into a function
body: <p>I have dataframe objects that I would like to to pass into a function. </p>
  
  <pre><code>x = pd.Dataframe()
  
  def function(z):
      "code"
      return result
  
  result = function(x)
  </code></pre>
  
  <p>I'm new to python, can someone please steer me in the right direction.</p>