You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 0. Data Types.ipynb
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -353,7 +353,14 @@
353
353
"cell_type": "markdown",
354
354
"metadata": {},
355
355
"source": [
356
-
"```astype``` method: convert an array to another data type. \n",
356
+
"### Type Conversion"
357
+
]
358
+
},
359
+
{
360
+
"cell_type": "markdown",
361
+
"metadata": {},
362
+
"source": [
363
+
"```astype``` method: convert the data type of an array to other data types. \n",
357
364
"\n",
358
365
"Notice that ```astype``` returns a copy of the array instead of converting the data type in place. You need to assign the copy to the original array or a new array."
359
366
]
@@ -384,7 +391,7 @@
384
391
"cell_type": "markdown",
385
392
"metadata": {},
386
393
"source": [
387
-
"<font color=red>__WARNING__</font>: be cautious about data overflow when you downcast the data type (from higher precision to lower precision). Some unexpected and undefined values might occur and it is usually difficult to debug such issues. "
394
+
"__WARNING__: be cautious about data overflow when you downcast the data type (from higher precision to lower precision). Some unexpected and undefined values might occur and it is usually difficult to debug such issues. "
0 commit comments