python數據科學入門與分析

python數據科學入門與分析 第二章 數據科學的Python核心 基本的內置str函數 1.print("hello".capitalize());將第一個字符轉化爲大寫,其他字符轉化爲小寫 2.print("hello world ".strip());:注意lstrip,rstrip,strip的用法 3.print("www.baidu.com".split(".")):會用split裏面
相關文章
相關標籤/搜索