Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/container_support/training.py", line 38, in start

fw.train()


 "/usr/local/lib/python2.7/dist-packages/tf_container/train.py", line 139, in train

train_wrapper.train()


 "/usr/local/lib/python2.7/dist-packages/tf_container/trainer.py", line 73, in train

tf.estimator.train_and_evaluate(estimator=estimator, train_spec=train_spec, eval_spec=eval_spec)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/training.py", line 421, in train_and_evaluate

executor.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/training.py", line 522, in run

getattr(self, task_to_run)()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/training.py", line 577, in run_master

self._start_distributed_training(saving_listeners=saving_listeners)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/training.py", line 715, in _start_distributed_training

saving_listeners=saving_listeners)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 352, in train

loss = self._train_model(input_fn, hooks, saving_listeners)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 812, in _train_model

features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/estimator.py", line 793, in _call_model_fn

model_fn_results = self._model_fn(features=features, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/canned/linear.py", line 316, in _model_fn

config=config)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/estimator/canned/linear.py", line 138, in _linear_model_fn

'Given type: {}'.format(type(features)))
ValueError: features should be a dictionary of `Tensor`s. Given type: <type 'function'>

Traceback (most recent call last):


 "test.py", line 6, in <module>

res = pd.concat([df1, df2])


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 213, in concat

return op.get_result()


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 408, in get_result

copy=self.copy)


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/internals.py", line 5202, in concatenate_block_managers

return BlockManager(blocks, axes)


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/internals.py", line 3028, in __init__

self._verify_integrity()


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/internals.py", line 3239, in _verify_integrity

construction_error(tot_items, block.shape[1:], self.axes)


 "/homes/joewag/miniconda3/envs/py3/lib/python3.6/site-packages/pandas/core/internals.py", line 4603, in construction_error

passed, implied))
ValueError: Shape of passed values is (1, 1), indices imply (1, 0)
