01 2016 档案

摘要:Warning! You must change appropriately the definition of any dependent object (procedures, functions, and views) on an object being renamed by sp_iqrename. The sp_iqrename procedure does not automati... 阅读全文
posted @ 2016-01-28 11:58 iAthena 阅读(698) 评论(0) 推荐(0) 编辑
摘要:1.str.capitalize返回首字母大写,其他字母小写的字符串2.str.casefold字符串转换成小写,用于不区分大小写的字符串比较3.str.center返回指定长度的字符串,字符串内容居中,并使用指定字符填充4.str.count返回子字符串在字符串中出现的次数5.str.encode对字符串进行编码,返回字节对象6.str.endswith判断字符串是否以指定的后缀结尾7.str.... 阅读全文
posted @ 2016-01-21 20:19 iAthena 阅读(243) 评论(0) 推荐(0) 编辑
摘要:In [45]: str = "this is string example....wow!!!"In [46]: str.title()Out[46]: 'This Is String Example....Wow!!!'In [47]: str.title().istitle()Out[47]: True来自为知笔记(Wiz) 阅读全文
posted @ 2016-01-21 20:06 iAthena 阅读(2368) 评论(0) 推荐(0) 编辑
摘要:translate()以下实例展示了 translate()函数的使用方法:#!/usr/bin/pythonfrom string import maketrans # 引用 maketrans 函数。 intab = "aeiou" outtab = "12345" trantab = maketrans(intab, outtab) str = "this is string exa... 阅读全文
posted @ 2016-01-21 20:04 iAthena 阅读(434) 评论(0) 推荐(0) 编辑
摘要:python Lambda, filter, reduce and map1. lambda The lambda operator or lambda function is a way to create small anonymous functions , i.e. functions without a name. 可以方便的创造一个函数。比如 123def add(x,y): ... 阅读全文
posted @ 2016-01-14 11:09 iAthena 阅读(224) 评论(0) 推荐(0) 编辑
摘要:数据挖掘十大经典算法来自:莫等闲 - CSDN博客链接:http://blog.csdn.net/aladdina/article/details/4141177文章的摘要来源全部转载自网络搜索,百度百科内容最多,少量来自中文维基百科以及其他网页。国际权威的学术组织the IEEE International Conference on Data Mining (ICDM) 2006年12月评选出... 阅读全文
posted @ 2016-01-12 10:15 iAthena 阅读(292) 评论(0) 推荐(0) 编辑