TensorFlow 2.0 Beta is available Learn more

tf.contrib.learn.extract_pandas_matrix

View source on GitHub

Extracts numpy matrix from pandas DataFrame. (deprecated)

tf.contrib.learn.extract_pandas_matrix(data)

Args:

  • data: pandas.DataFrame containing the data to be extracted.

Returns:

A numpy ndarray of the DataFrame's values.