摘要: 阅读全文
posted @ 2020-01-13 14:55 数据--熊 阅读(541) 评论(0) 推荐(0)
摘要: select task_id,state,createymd,from_unixtime(createtime) "创建时间",manager_name,open_state,hosted_amount,hosted_date,hosted_time,hosted, is_deal,deal_amo 阅读全文
posted @ 2020-01-13 13:57 数据--熊 阅读(2006) 评论(0) 推荐(0)
摘要: 经典4P理论:以产品为核心 经典4C理论:以消费者为中心 互联网新理论:3C3P 阅读全文
posted @ 2019-10-23 14:55 数据--熊 阅读(408) 评论(0) 推荐(0)
摘要: select group_concat(分公司) as 分公司名 from monthxd; 将所有分公司名拼接起来。 如果有重复值则使用distinct进行约束: select group_concat(distinct 分公司) 分公司名 from orderq; 阅读全文
posted @ 2019-10-22 16:52 数据--熊 阅读(122) 评论(0) 推荐(0)
摘要: python 爬虫和解析 库的安装:pip install requests; pip install beautifulsoup4 requests 的几个常用方法: requests.request() #以下各方法的基础 requests.get(url,params=None,**kwarg 阅读全文
posted @ 2019-10-21 23:06 数据--熊 阅读(707) 评论(0) 推荐(0)
摘要: python 的re库为: raw string 类型(原生字符串类型,即不含转义字符) 在字符串前面加 r'...'就行了 Re库主要功能函数 re.rearch(pattern,string,flags=0) 在一个字符串中搜索匹配表达式第一个位置,返回match对象 *pattern:正则表达 阅读全文
posted @ 2019-10-21 21:16 数据--熊 阅读(452) 评论(0) 推荐(0)
摘要: ^[A-Za-z]+$ 由26个字母组成的字符串 ^[A-Za-z0-9]+$ 由26个字母和数字组成的字符串 ^-?\d+$ 整数形式的字符串 ^[0-9]*[1-9][0-9]*$ 正整数形式的字符串 [1-9]\d{5} 中国境内邮政编码,6位 [\u4e00-\u9fa5] 匹配中文字符 \ 阅读全文
posted @ 2019-10-21 20:10 数据--熊 阅读(205) 评论(0) 推荐(0)
摘要: 1 import requests 2 from bs4 import BeautifulSoup 3 import bs4 4 def gethtmltext(url): #获取html内容,利用try和except框架可以抛出异常 5 try: 6 r = requests.get(url,ti 阅读全文
posted @ 2019-10-21 10:00 数据--熊 阅读(243) 评论(0) 推荐(0)
摘要: 查询示例: 阅读全文
posted @ 2019-10-11 09:53 数据--熊 阅读(4373) 评论(0) 推荐(0)
摘要: 1 #!/usr/bin/env python 2 # coding: utf-8 3 4 def concat_file(a,b): 5 #如何批量读取并快速合并文件夹中的excel文件 6 import pandas as pd 7 import numpy as np 8 import glob,os 9 path1=a 10 file=glob.glob(os.path.join(path 阅读全文
posted @ 2019-10-11 09:47 数据--熊 阅读(5783) 评论(0) 推荐(0)