diff --git a/tensorflow/docs_src/tutorials/wide.md b/tensorflow/docs_src/tutorials/wide.md index b87efedb800..24c866eee54 100644 --- a/tensorflow/docs_src/tutorials/wide.md +++ b/tensorflow/docs_src/tutorials/wide.md @@ -69,8 +69,8 @@ COLUMNS = ["age", "workclass", "fnlwgt", "education", "education_num", "marital_status", "occupation", "relationship", "race", "gender", "capital_gain", "capital_loss", "hours_per_week", "native_country", "income_bracket"] -df_train = pd.read_csv(train_file, names=COLUMNS, skipinitialspace=True) -df_test = pd.read_csv(test_file, names=COLUMNS, skipinitialspace=True, skiprows=1) +df_train = pd.read_csv(train_file.name, names=COLUMNS, skipinitialspace=True) +df_test = pd.read_csv(test_file.name, names=COLUMNS, skipinitialspace=True, skiprows=1) ``` Since the task is a binary classification problem, we'll construct a label