[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.learn.extract_pandas_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/pandas_io.py#L123-L153) |\n\nExtract data from pandas.DataFrame for labels. (deprecated) \n\n tf.contrib.learn.extract_pandas_labels(\n labels\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please access pandas data directly.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------|----------------------------------------------------------------------------------------|\n| `labels` | `pandas.DataFrame` or `pandas.Series` containing one column of labels to be extracted. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A numpy `ndarray` of labels from the DataFrame. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|---------------------------------------------------------------------|\n| `ValueError` | if more than one column is found or type is not int, float or bool. |\n\n\u003cbr /\u003e"]]