title: Pandas read_csv from url
body: <p>I'm trying to read a csv-file from given URL, using Python 3.x:</p>
  <pre><code>import pandas as pd
  import requests
  
  url = &quot;https://github.com/cs109/2014_data/blob/master/countries.csv&quot;
  s = requests.get(url).content
  c = pd.read_csv(s)
  </code></pre>
  <p>I have the following error</p>
  <blockquote>
  <p>&quot;Expected file path name or file-like object, got &lt;class 'bytes'&gt; type&quot;</p>
  </blockquote>
  <p>How can I fix this? I'm using Python 3.4</p>