title: AttributeError: 'str' object has no attribute 'copy' from user input
body: <p>I've this dataframe:</p>
  
  <pre><code>dtf = pd.DataFrame({'col1' : ['Buenos Dias'],
           'col2' : ["Hello"],
           'col3' : ["Bonjour"]})
  </code></pre>
  
  <p>I need to accept user input  dataframe name using this fonction and make a copy.
  I get an error message "'str' object has no attribute 'copy' "
  So, how translate this "str" into pandas ?</p>
  
  <pre><code>def copydf():
      global dfNewName
      dfname = input(" Enter dataframe Name :")
      print (dfname)
      dfNewName = dfname.copy()
  </code></pre>
  
  <p>Thank you if you can help.</p>