Skip to content

Commit bea38ab

Browse files
Remove redundant output of dataset.element_spec in PostgreSQL tutorial (#1242)
1 parent 352dc62 commit bea38ab

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/tutorials/postgresql.ipynb

+1-8
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,7 @@
275275
"id": "8y-VpwcWNYTF"
276276
},
277277
"source": [
278-
"As you could see from the output of `dataset.element_spec` above, the element of the created `Dataset` is a python dict object with column names of the database table as keys:\n",
279-
"```\n",
280-
"{\n",
281-
" 'co': TensorSpec(shape=(), dtype=tf.float32, name=None),\n",
282-
" 'pt08s1': TensorSpec(shape=(), dtype=tf.int32, name=None),\n",
283-
"}\n",
284-
"```\n",
285-
"\n",
278+
"As you could see from the output of `dataset.element_spec` above, the element of the created `Dataset` is a python dict object with column names of the database table as keys.\n",
286279
"It is quite convenient to apply further operations. For example, you could select both `nox` and `no2` field of the `Dataset`, and calculate the difference:"
287280
]
288281
},

0 commit comments

Comments
 (0)