Skip to content

Commit

Permalink
Update pandas_dataframe.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDaoust authored Aug 6, 2024
1 parent 460419a commit 55c0d21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/en/tutorials/load_data/pandas_dataframe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import tensorflow as tf\n",
"\n",
Expand Down Expand Up @@ -292,7 +293,7 @@
"outputs": [],
"source": [
"normalizer = tf.keras.layers.Normalization(axis=-1)\n",
"normalizer.adapt(numeric_features)"
"normalizer.adapt(np.array(numeric_features))"
]
},
{
Expand Down

0 comments on commit 55c0d21

Please sign in to comment.