From f53a75d945ab4599ea92d217b7d61dd3857178e8 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 16 Sep 2018 21:12:27 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E7=AC=AC03=E7=AB=A0=20Python=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E3=80=81=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=92=8C=E6=96=87=E4=BB=B6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去掉重复的“函数”一词。 --- ...\207\275\346\225\260\345\222\214\346\226\207\344\273\266.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/\347\254\25403\347\253\240 Python\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204\343\200\201\345\207\275\346\225\260\345\222\214\346\226\207\344\273\266.md" "b/\347\254\25403\347\253\240 Python\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204\343\200\201\345\207\275\346\225\260\345\222\214\346\226\207\344\273\266.md" index afdc612..ab4f896 100644 --- "a/\347\254\25403\347\253\240 Python\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204\343\200\201\345\207\275\346\225\260\345\222\214\346\226\207\344\273\266.md" +++ "b/\347\254\25403\347\253\240 Python\347\232\204\346\225\260\346\215\256\347\273\223\346\236\204\343\200\201\345\207\275\346\225\260\345\222\214\346\226\207\344\273\266.md" @@ -1261,7 +1261,7 @@ S ['Steven'] ![表3-2 一些有用的itertools函数](http://upload-images.jianshu.io/upload_images/7178691-111823d8767a104d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ## 错误和异常处理 -优雅地处理Python的错误和异常是构建健壮程序的重要部分。在数据分析中,许多函数函数只用于部分输入。例如,Python的float函数可以将字符串转换成浮点数,但输入有误时,有``ValueError``错误: +优雅地处理Python的错误和异常是构建健壮程序的重要部分。在数据分析中,许多函数只用于部分输入。例如,Python的float函数可以将字符串转换成浮点数,但输入有误时,有``ValueError``错误: ```python In [197]: float('1.2345')