Skip to content

Commit d4caaf4

Browse files
authored
[UT] Replace as_matrix with values in pandas_io. (#293)
1 parent 642593a commit d4caaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/contrib/learn/python/learn/learn_io/pandas_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def extract_pandas_matrix(data):
117117
if not isinstance(data, pd.DataFrame):
118118
return data
119119

120-
return data.as_matrix()
120+
return data.values
121121

122122

123123
@deprecated(None, 'Please access pandas data directly.')

0 commit comments

Comments
 (0)