pandas Series object or DataFrame. None if absent.
batch_size
int, size of batches to return.
num_epochs
int, number of epochs to iterate over data. If not None, read
attempts that would exceed this value will raise OutOfRangeError.
shuffle
bool, whether to read the records in random order.
queue_capacity
int, size of the read queue. If None, it will be set
roughly to the size of x.
num_threads
Integer, number of threads used for reading and enqueueing. In
order to have predicted and repeatable order of reading and enqueueing,
such as in prediction and evaluation mode, num_threads should be 1.
target_column
str, name to give the target column y. This parameter is
not used when y is a DataFrame.
Returns
Function, that has signature of ()->(dict of features, target)
Raises
ValueError
if x already contains a column with the same name as y, or
if the indexes of x and y don't match.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[]]