Traceback (most recent call last):


 "src/main.py", line 55, in <module>

start_date=start_date)


 "/src/preparation/data_source.py", line 16, in import_data

data = self._load_data(app_ids, granularity, f'{date.today()}_{self._source}_{granularity}.csv')


 "/src/preparation/data_source.py", line 27, in _load_data

data = pd.read_sql(query, conn, parse_dates=['install_date'])


 "/usr/local/lib/python3.7/site-packages/modin/pandas/io.py", line 324, in read_sql

return DataFrame(query_compiler=BaseFactory.read_sql(**kwargs))


 "/usr/local/lib/python3.7/site-packages/modin/data_management/factories.py", line 155, in read_sql

return cls._determine_engine()._read_sql(**kwargs)


 "/usr/local/lib/python3.7/site-packages/modin/data_management/factories.py", line 159, in _read_sql

return cls.io_cls.read_sql(**kwargs)


 "/usr/local/lib/python3.7/site-packages/modin/engines/ray/generic/io.py", line 805, in read_sql

num_return_vals=num_parts + 1,


 "/usr/local/lib/python3.7/site-packages/ray/remote_function.py", line 152, in _remote

return invocation(args, kwargs)


 "/usr/local/lib/python3.7/site-packages/ray/remote_function.py", line 143, in invocation

resources=resources)


 "/usr/local/lib/python3.7/site-packages/ray/worker.py", line 636, in submit_task

args_for_raylet.append(put(arg))


 "/usr/local/lib/python3.7/site-packages/ray/worker.py", line 2227, in put

worker.put_object(object_id, value)


 "/usr/local/lib/python3.7/site-packages/ray/worker.py", line 403, in put_object

self.store_and_register(object_id, value)


 "/usr/local/lib/python3.7/site-packages/ray/worker.py", line 317, in store_and_register

self.task_driver_id))


 "/usr/local/lib/python3.7/site-packages/ray/utils.py", line 475, in _wrapper

return orig_attr(*args, **kwargs)


 "pyarrow/_plasma.pyx", line 496, in pyarrow._plasma.PlasmaClient.put


 "pyarrow/serialization.pxi", line 355, in pyarrow.lib.serialize


 "pyarrow/serialization.pxi", line 150, in pyarrow.lib.SerializationContext._serialize_callback


 "/usr/local/lib/python3.7/site-packages/ray/cloudpickle/cloudpickle.py", line 952, in dumps

cp.dump(obj)


 "/usr/local/lib/python3.7/site-packages/ray/cloudpickle/cloudpickle.py", line 267, in dump

return Pickler.dump(self, obj)


 "/usr/local/lib/python3.7/pickle.py", line 437, in dump

self.save(obj)


 "/usr/local/lib/python3.7/pickle.py", line 549, in save

self.save_reduce(obj=obj, *rv)


 "/usr/local/lib/python3.7/pickle.py", line 662, in save_reduce

save(state)


 "/usr/local/lib/python3.7/pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "/usr/local/lib/python3.7/pickle.py", line 856, in save_dict

self._batch_setitems(obj.items())


 "/usr/local/lib/python3.7/pickle.py", line 882, in _batch_setitems

save(v)


 "/usr/local/lib/python3.7/pickle.py", line 549, in save

self.save_reduce(obj=obj, *rv)


 "/usr/local/lib/python3.7/pickle.py", line 662, in save_reduce

save(state)


 "/usr/local/lib/python3.7/pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "/usr/local/lib/python3.7/pickle.py", line 856, in save_dict

self._batch_setitems(obj.items())


 "/usr/local/lib/python3.7/pickle.py", line 882, in _batch_setitems

save(v)


 "/usr/local/lib/python3.7/pickle.py", line 549, in save

self.save_reduce(obj=obj, *rv)


 "/usr/local/lib/python3.7/pickle.py", line 662, in save_reduce

save(state)


 "/usr/local/lib/python3.7/pickle.py", line 504, in save

f(self, obj) # Call unbound method with explicit self


 "/usr/local/lib/python3.7/pickle.py", line 856, in save_dict

self._batch_setitems(obj.items())


 "/usr/local/lib/python3.7/pickle.py", line 882, in _batch_setitems

save(v)


 "/usr/local/lib/python3.7/pickle.py", line 524, in save

rv = reduce(self.proto)
TypeError: can't pickle _thread._local objects

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.4/dist-packages/matplotlib/pyplot.py", line 252, in show

return _show(*args, **kw)


 "/usr/local/lib/python3.4/dist-packages/itermplot/__init__.py", line 103, in show

figmanager.show()


 "/usr/local/lib/python3.4/dist-packages/itermplot/__init__.py", line 216, in show

imgcat(data.getbuffer())


 "/usr/local/lib/python3.4/dist-packages/itermplot/__init__.py", line 76, in imgcat

buf += lines*b'\n' + csi + b'?25l' + csi + b'%dF' % lines + osc
TypeError: unsupported operand type(s) for %: 'bytes' and 'int'
