[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.learn.extract_pandas_data\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#L76-L104) |\n\nExtract data from pandas.DataFrame for predictors. (deprecated) \n\n tf.contrib.learn.extract_pandas_data(\n data\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\nGiven a DataFrame, will extract the values and cast them to float. The\nDataFrame is expected to contain values of type int, float or bool.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|---------------------------------------------------------|\n| `data` | `pandas.DataFrame` containing the data 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 the DataFrame's values as floats. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|-------------------------------------------------------|\n| `ValueError` | if data contains types other than int, float or bool. |\n\n\u003cbr /\u003e"]]