title: I got syntax error by using jupyter notebook
body: <p>[Here the image]
  <a href="https://i.stack.imgur.com/CzyXX.png" rel="nofollow noreferrer">1</a>I dont know why i get this error.
  Here is the code:</p>
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt 
  import numpy as np 
  
  data = pd.read_csv(&quot;files/ch04/ACCIDENTS_GU_BCN_2013.csv&quot; , encoding= 'unicode_escape')
  data['Date'] = data[u'Dia de mes']. apply(lambda x: str(x))
  + '-' + data[u'Mes de any']. apply(lambda x: str(x))
  data['Date'] = pd.to_datetime(data['Date'])
  accidents = data.groupby (['Date']).size()
  print accidents.mean()
  </code></pre>