Extract data from dask.Series or dask.DataFrame for labels. (deprecated)
tf.contrib.learn.extract_dask_labels(labels)
Given a distributed dask.DataFrame or dask.Series containing exactly one
column or name, this operation returns a single dask.DataFrame or dask.Series
that can be iterated over.
Args
labels
A distributed dask.DataFrame or dask.Series with exactly one
column or name.
Returns
A dask.DataFrame or dask.Series that can be iterated over.
If the supplied argument is neither a dask.DataFrame nor a dask.Series this
operation returns it without modification.
Raises
ValueError
If the supplied dask.DataFrame contains more than one
column or the supplied dask.Series contains more than
one name.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.learn.extract_dask_labels\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/learn/python/learn/learn_io/dask_io.py#L92-L123) |\n\nExtract data from dask.Series or dask.DataFrame for labels. (deprecated) \n\n tf.contrib.learn.extract_dask_labels(\n labels\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please feed input to tf.data to support dask.\n\nGiven a distributed dask.DataFrame or dask.Series containing exactly one\ncolumn or name, this operation returns a single dask.DataFrame or dask.Series\nthat can be iterated over.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------|------------------------------------------------------------------------------|\n| `labels` | A distributed dask.DataFrame or dask.Series with exactly one column or name. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A dask.DataFrame or dask.Series that can be iterated over. If the supplied argument is neither a dask.DataFrame nor a dask.Series this operation returns it without modification. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------|\n| `ValueError` | If the supplied dask.DataFrame contains more than one column or the supplied dask.Series contains more than one name. |\n\n\u003cbr /\u003e"]]