title: Import multiple CSV files from Google Cloud Bucket to Datalab
body: <p>I'm trying to get the below code to import multiple csv files (ALLOWANCE1.csv and ALLOWANCE2.csv) from a Google Cloud Bucket to Datalab in python 2.x:</p>
  
  <pre><code>import numpy as np
  import pandas as pd
  from google.datalab import Context
  import google.datalab.bigquery as bq
  import google.datalab.storage as storage
  from io import BytesIO
  
  myBucket = storage.Bucket('Bucket Name')
  object_list = myBucket.objects(prefix='ALLOWANCE')
  
  df_list = []
  for obj in object_list:
    %gcs read --object $obj.uri --variable data  
    df_list.append(pd.read_csv(BytesIO(data)))
  
  concatenated_df = pd.concat(df_list, ignore_index=True)
  concatenated_df.head()
  </code></pre>
  
  <p>I'm getting the following error right at the beginning of the for loop:</p>
  
  <pre><code>RequestExceptionTraceback (most recent call last)
  &lt;ipython-input-5-3188aab389b8&gt; in &lt;module&gt;()
  ----&gt; 1 for obj in object_list:
       2   get_ipython().magic(u'gcs read --object $obj.uri --variable 
  data')
       3   df_list.append(pd.read_csv(BytesIO(data)))
  
  /usr/local/envs/py2env/lib/python2.7/site- 
  packages/google/datalab/utils/_iterator.pyc in __iter__(self)
       34     """Provides iterator functionality."""
       35     while self._first_page or (self._page_token is not None):
  ---&gt; 36       items, next_page_token = self._retriever(self._page_token, self._count)
   37 
   38       self._page_token = next_page_token
  
  /usr/local/envs/py2env/lib/python2.7/site-packages/google/datalab/storage/_object.pyc in _retrieve_objects(self, page_token, _)
  319                                          page_token=page_token)
  320     except Exception as e:
  --&gt; 321       raise e
  322 
  323     objects = list_info.get('items', [])
  
  RequestException: HTTP request failed: Not Found
  </code></pre>
  
  <p>I have spent some time resolving this issue but no luck! Any help would be greatly appreciated!</p>