Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

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.