We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fd0f4 commit f278011Copy full SHA for f278011
site/en/tutorials/load_data/csv.ipynb
@@ -449,8 +449,8 @@
449
},
450
"outputs": [],
451
"source": [
452
- "print(calc(1).numpy())\n",
453
- "print(calc(2).numpy())"
+ "print(calc(np.array([1])).numpy())\n",
+ "print(calc(np.array([2])).numpy())"
454
]
455
456
{
@@ -1751,7 +1751,7 @@
1751
"\n",
1752
"for row in font_rows.take(10):\n",
1753
" fonts_dict['font_name'].append(row[0].numpy().decode())\n",
1754
- " fonts_dict['character'].append(chr(row[2].numpy()))\n",
+ " fonts_dict['character'].append(chr(int(row[2].numpy())))\n",
1755
1756
"pd.DataFrame(fonts_dict)"
1757
0 commit comments