展开

关键词

Pycon2014 in Shanghai

21860

Meet Sccot Guthrie in Shanghai

9月16日,有幸和其他9位MVP一起在上海和微软全球副总裁Sccot Guthrie、开发工具部门Somasegar、微软中国申元庆见面,聊关于Azure和开发...

29190
  • 广告
    关闭

    11.11智惠云集

    2核4G云服务器首年70元,还有多款热门云产品满足您的上云需求

  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    TechEd2013 Shanghai Hol Session PPT Share

    上个月去上海参加了TechEd 2013,并且参与了Hands-on-Lab环节,作为讲师引导大家完成《Local DB in WP8》实验的内容。由于实验的内...

    24270

    2018 NAB Show Shanghai酷炫科技早知道

    25050

    如何解决spark开发中遇到需要去掉文件前几行数据的问题

    2018-05-252 zhangsan shanghai 2018-05-253 zhangsan shanghai 2018-05-254 zhangsan shanghai 2018-05-255 2018-05-25,3)(2 zhangsan shanghai 2018-05-25,4)(3 zhangsan shanghai 2018-05-25,5)(4 zhangsan shanghai zhangsan shanghai 2018-05-253 zhangsan shanghai 2018-05-254 zhangsan shanghai 2018-05-255 zhangsan shanghai 2018-05-252 zhangsan shanghai 2018-05-253 zhangsan shanghai 2018-05-254 zhangsan shanghai 2018-05-255 ycat data.txt 1 zhangsan shanghai 2018-05-252 zhangsan shanghai 2018-05-253 zhangsan shanghai 2018-05

    54130

    Python 强化训练:第二篇

    bananaprint(str_other, str_one, str_two)5.字符串对齐str.ljust()str.rjust()str.center()format()sentence = Shanghai University # Shanghai University# Shanghai University #Shanghai University # Shanghai University# Shanghai University 6.出掉不需要的字符str.strip()str.lstrip()str.rstrip()re.sub()words = ============Shanghai++++++University =============== print(words.strip(=)) #Shanghai++++++University print(words.lstrip(=)) #Shanghai+++++ +University=============== print(words.rstrip(=)) #============Shanghai++++++University word_pattern

    24450

    python基础知识——内置数据结构(字典)

    创建空的字典 dictionary_name = {} 例如 dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou}print dict 输出:{s: shanghai, b: beijing, g: guangzhou, w: wuhan} 注意:字典将会按照每个元素的Hashcode值进行排序,而且,字典的“键”是区分大小写的。 格式value = dictionary_name 例如 #coding:UTF-8dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou ()输出#coding:UTF-8 #使用items()方法遍历字典 dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou} for ( #shanghai keys方法用于返回字典中的key的列表。

    19430

    python基础知识——内置数据结构(元组)

    例如 tuple_1 = (beijing, shanghai, wuhan) 注意点: 空元组的创建:tuple_2 = () 只含一个元素的元组的创建:tuple_3 = (beijing,)若没有 shanghai print tuple_1 #wuhan 注意点: 元组支持负数索引,即从末尾开始是-1。 tuple_1 = (beijing, shanghai, wuhan) print tuple_1 #beijing print tuple_1 #shanghai print tuple_1 #wuhan = tuple_4 #(shanghai, nanjing) print tuple_slice 4、二元元组 与二维数组类似,即元组里的元素是元组。 如#coding:UTF-8 tuple_1 = (beijing, shanghai, wuhan, nanjing) tuple_1 = guangzhou 想要修改shanghai的值为guangzhou

    35060

    python基础知识——内置数据结构(元组)

    例如 tuple_1 = (beijing, shanghai, wuhan) 注意点: 空元组的创建:tuple_2 = () 只含一个元素的元组的创建:tuple_3 = (beijing,)若没有 shanghai print tuple_1 #wuhan 注意点: 元组支持负数索引,即从末尾开始是-1。 tuple_1 = (beijing, shanghai, wuhan) print tuple_1 #beijing print tuple_1 #shanghai print tuple_1 #wuhan = tuple_4 #(shanghai, nanjing) print tuple_slice 4、二元元组 与二维数组类似,即元组里的元素是元组。 如#coding:UTF-8 tuple_1 = (beijing, shanghai, wuhan, nanjing) tuple_1 = guangzhou 想要修改shanghai的值为guangzhou

    21130

    python基础知识——内置数据结构(字典)

    创建空的字典 dictionary_name = {} 例如 dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou}print dict 输出:{s: shanghai, b: beijing, g: guangzhou, w: wuhan} 注意:字典将会按照每个元素的Hashcode值进行排序,而且,字典的“键”是区分大小写的。 格式value = dictionary_name 例如 #coding:UTF-8dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou #coding:UTF-8 #使用items()方法遍历字典 dict = {b : beijing, s : shanghai, w : wuhan, g : guangzhou} for (k, v #shanghai keys方法用于返回字典中的key的列表。

    40670

    PHP基于自定义函数生成笛卡尔积的方法示例

    分享给大家供大家参考,具体如下: 运行结果:Array( => Array( => red => 39 => beijing) => Array( => red => 39 => shanghai) = > Array( => red => 40 => beijing) => Array( => red => 40 => shanghai) => Array( => red => 41 => beijing ) => Array( => red => 41 => shanghai) => Array( => green => 39 => beijing) => Array( => green => 39 = > shanghai) => Array( => green => 40 => beijing) => Array( => green => 40 => shanghai) => Array( => green => 41 => beijing) => Array( => green => 41 => shanghai))

    6020

    SQL学习笔记四(补充-1-1)之MySQL单表查询补充部分:SQL逻辑查询语句执行顺序

    | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx |+- | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx || | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx || | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx || | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx ||

    13620

    MySQL5.7特性:JSON数据类型学习

    }, ); INSERT INTO `employee` VALUES (3,{name: zhaoqing, age: 24 ,from: shanghai}, {system: linux,database , name: linxue} | || 3 | {age: 24, from: shanghai, name: zhaoqing} | {system: linux, database: mysql , name: linxue} | || 3 | {age: 28, from: shanghai, name: zhaoqing} | {system: linux, database: mysql , name: linxue} | || 3 | {age: 24, from: shanghai, name: zhaoqing} | {system: linux, database: mysql , name: linxue} | || 3 | {age: 24, from: shanghai, name: zhaoqing} | {system: linux, database: mysql

    1.3K20

    SQL逻辑查询语句执行顺序

    INTO table1(customer_id,city) VALUES(163,hangzhou); INSERT INTO table1(customer_id,city) VALUES(9you,shanghai | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx |+- | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx || | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx || | 3 | 9you || 9you | shanghai | 4 | 9you || 9you | shanghai | 5 | 9you || tx | hangzhou | 6 | tx ||

    35850

    怎么用matplotlib画出漂亮的分析图表

    # 选择上海部分天气数据df1 = climate.loc==China)&(climate==Shanghai)&(climate>=2010-01-01)] .loc] .set_index(dt) # 选择上海部分天气数据df1 = climate.loc==China)&(climate==Shanghai)&(climate>=2010-01-01)] .loc] .rename(columns - ShenYang)plt.xlabel(ShangHai)plt.ylabel(ShenYang)plt.show()? 面积图# 多条折线图df1 = climate.loc==China)&(climate==Shanghai)&(climate>=2010-01-01)] .loc] .rename(columns= # 最简单的直方图df.plot(kind=hist, figsize=(8,5), colors=)plt.title(ShangHai AverageTemperature Of 2010-2013

    19230

    java8 stream流操作实现List CountWord Count

    话不多说,直接上代码List Countpublic static void main(String args) { List list = Arrays.asList(beijing shanghai Collectors.groupingBy(o -> o, Collectors.counting())); System.out.println(collect); out => {guangzhou=2, shanghai =1, beijing=4}}如果要包含元素使用JDK自带集合类public static void main(String, shanghai=, shenzhen=, beijing=}}使用Spring 的 LinkedMultiValueMap public static void main(String, shanghai=, guangzhou=, shenzhen=}}

    22510

    python-元组方法(tulpe)知识

    # 列表是可以进行修改的,元组是不能修改的 name_list = (beijing,shanghai,jinan,shandong)## 索引print(name_list)# beijing ## lenprint(len(name_list))# 4 ## 切片print(name_list)# (beijing, shanghai) ## for 循环for i in name_list: print beijingshanghaijinanshandong################################## 删除元组元素报错 ###############################name_list = (beijing,shanghai ### count 统计个数 ################################ def count(self, value):# 统计元素个数name_list = (beijing,shanghai ########## def index(self, value, start=None, stop=None):# 获取指定元素的下标位置name_list = (beijing,shandong,shanghai

    18620

    CSV

    ; } name age height address 0 yangming 32 180 shenzhen 1 xiaoming 24 168 guangzhou 2 zhoujun 29 184 shanghai ; } name age height address 0 yangming 32 180 shenzhen 1 xiaoming 24 168 guangzhou 2 zhoujun 29 184 shanghai 3 Tom 24 183 changsha 4 xiaoming 19 176 shenzhen 5 yanghong 27 180 guangzhou 6 peter 32 172 shanghai 7 Tom 24 183 changsha 8 xiaoming 19 176 shenzhen 9 yanghong 27 180 guangzhou 10 peter 32 172 shanghai 11 Tom 24 183 changsha 12 xiaoming 19 176 shenzhen 13 yanghong 27 180 guangzhou 14 peter 32 172 shanghai

    6810

    php面试常问方法汇总

    echo str_repeat(Shanghai,2);结果:ShanghaiShanghai strstr搜索字符串在另一字符串中的第一次出现 查找 Shanghai 在 I loveShanghai and Shanghai 中的第一次出现,并返回字符串的剩余部分【包含第二个参数本身】 echo strstr(I loveShanghai! and Shanghai,Shanghai);Shanghai! and Shanghai第三个参数默认false,如果设置为 true,它将返回 第二个参数第一次出现之前的字符串部分【不包含第二个参数本身】echo strstr(I loveShanghai! and Shanghai,Shanghai,true);I love该函数对大小写敏感。

    9320

    手工冷备搭建 Oracle 11g DataGuard 物理备库

    ctl,u02oradatashcontrol02.ctlDB_NAME=DGDBDB_UNIQUE_NAME=shanghaiLOG_ARCHIVE_CONFIG=DG_CONFIG=(beijing,shanghai 3、【主库的初始化参数】 DB_NAME=DGDB DB_UNIQUE_NAME=beijing LOG_ARCHIVE_CONFIG=DG_CONFIG=(beijing,shanghai) CONTROL_FILES LOG_ARCHIVE_DEST_STATE_1=ENABLE LOG_ARCHIVE_DEST_STATE_2=ENABLE LOG_ARCHIVE_CONFIG=DG_CONFIG=(beijing,shanghai *.control_files=u02oradatashcontrol01.ctl,u02oradatashcontrol02.ctl DB_NAME=DGDB DB_UNIQUE_NAME=shanghai = TCP)(HOST = shanghai.lxh.net)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = shanghai

    40630

    扫码关注云+社区

    领取腾讯云代金券