title: Python Import csv file as dataframe with File chooser
body: <p>I would like to import a csv file into python with FileChooser and display it as dataframe. Here is the code and it didn't work. Thanks for your kind help.</p>
  
  <pre><code>def get_open_filename(self):
  
      filename = None
      chooser = gtk.FileChooserDialog("Open File...", self.window,
                                      gtk.FILE_CHOOSER_ACTION_OPEN,
                                      (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, 
                                       gtk.STOCK_OPEN, gtk.RESPONSE_OK))
  
      response = chooser.run()
      if response == gtk.RESPONSE_OK: 
          with open(chooser.get_filename(), 'rb') as csvfile:
              don = DataFrame.from_csvfile(csvfile)           ## I am confused here !!!
              print don
      chooser.destroy()
  
      return filename
  </code></pre>