Traceback (most recent call last):


 "/Users/myname/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-7-5e1d634b8803>", line 1, in <module>

dat = feature_expand(data_everything, lags=2, lag_y=True, delta=True)


 "<ipython-input-3-184a59b406db>", line 126, in feature_expand

data_delta = data_delta.diff()


 "<string>", line 21, in diff


 "/Users/myname/anaconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 612, in wrapper

*args, **kwargs)


 "/Users/myname/anaconda/lib/python2.7/site-packages/pandas/core/groupby.py", line 3481, in _aggregate_item_by_item

raise errors
TypeError: diff() got an unexpected keyword argument 'axis'

Traceback (most recent call last):


 "/home/ansible/bin/ansible-galaxy", line 106, in <module>

exit_code = cli.run()


 "/home/ansible/lib/ansible/cli/galaxy.py", line 152, in run

self.execute()


 "/home/ansible/lib/ansible/cli/__init__.py", line 153, in execute

fn()


 "/home/ansible/lib/ansible/cli/galaxy.py", line 285, in execute_info

remote_data = self.api.lookup_role_by_name(role, False)


 "/home/ansible/lib/ansible/galaxy/api.py", line 48, in wrapped

server_version = self._get_server_api_version()


 "/home/ansible/lib/ansible/galaxy/api.py", line 115, in _get_server_api_version

return_data = open_url(url, validate_certs=self._validate_certs)


 "/home/ansible/lib/ansible/module_utils/urls.py", line 947, in open_url

r = urllib_request.urlopen(*urlopen_args)


 "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen

return opener.open(url, data, timeout)


 "/usr/lib64/python2.7/urllib2.py", line 427, in open

req = meth(req)


 "/home/ansible/lib/ansible/module_utils/urls.py", line 725, in http_request

s.connect((proxy_parts.get('hostname'), port))


 "/usr/lib64/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)
TypeError: coercing to Unicode: need string or buffer, NoneType found
