tf.compat.v1.estimator.inputs.pandas_input_fn

View source on GitHub

Returns input function that would feed Pandas DataFrame into the model.

tf.compat.v1.estimator.inputs.pandas_input_fn(
    x, y=None, batch_size=128, num_epochs=1, shuffle=None, queue_capacity=1000,
    num_threads=1, target_column='target'
)

Note: y's index must match x's index.

Args:

Returns:

Function, that has signature of ()->(dict of features, target)

Raises: