TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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.