title: how to get file name when file is imported using pandas.read_csv
body: <p>I am writing big function, I need to use input file name for the purpose of giving out output file name. I tried something </p>
  
  <pre><code>import pandas as pd
  import os
  input_file = pd.read_csv('my_file.csv',header=None)
  input_file_name = os.basename(input_file)
  </code></pre>
  
  <p>but I can't get back file name.
  How can I retrieve 'my_file' here?</p>