上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2019年5月17日

该文被密码保护。 阅读全文

posted @ 2019-05-17 11:42 飞行的蟒蛇 阅读(1) 评论(0) 推荐(0)

该文被密码保护。 阅读全文

posted @ 2019-05-17 11:21 飞行的蟒蛇 阅读(14) 评论(0) 推荐(0)

2019年5月14日

摘要: import requestsimport reimport pandas as pdimport pymysqlpymysql.install_as_MySQLdb()from sqlalchemy import create_engineimport timeimport logginghead 阅读全文

posted @ 2019-05-14 11:02 飞行的蟒蛇 阅读(593) 评论(0) 推荐(0)

2019年5月13日

摘要: 1.合并数据或表 df_user = pd.concat(list, axis=0, ignore_index=True)#list为数据 2.筛选 1) a=df[(df.可发库存 >= 15)]#可发库存为列名,df为数据 2) a = tcdd.loc[tcdd['订单状态'] == '已取消 阅读全文

posted @ 2019-05-13 15:42 飞行的蟒蛇 阅读(232) 评论(0) 推荐(0)

摘要: import requestsimport reimport jsonimport pandas as pdheaders={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, lik 阅读全文

posted @ 2019-05-13 14:24 飞行的蟒蛇 阅读(342) 评论(0) 推荐(0)

摘要: import pandas as pd import pymysql pymysql.install_as_MySQLdb() from sqlalchemy import create_engine import time def replace_into(table_name, table_data): """ 通过relace into 方式修改数据 :param... 阅读全文

posted @ 2019-05-13 14:23 飞行的蟒蛇 阅读(207) 评论(0) 推荐(0)

摘要: from selenium import webdriver import re import time from lxml import etree from selenium.webdriver.chrome.options import Options import pymysql import requests with open('taobao',encoding='utf-8') a... 阅读全文

posted @ 2019-05-13 14:21 飞行的蟒蛇 阅读(1302) 评论(0) 推荐(0)

2019年1月28日

摘要: import requests import re from urllib import request import urllib.request import pymysql import time conn=pymysql.connect(host="127.0.0.1",user="root",passwd="123456",db="world") def get_url(): ... 阅读全文

posted @ 2019-01-28 11:00 飞行的蟒蛇 阅读(330) 评论(0) 推荐(0)

摘要: import requests import time import re import json import pandas as pd headers= {'user-agent': 'mobile'} def douyin_Spyder(id,url2): data=requests.get('http://aweme.snssdk.com/aweme/v1/user/?user_... 阅读全文

posted @ 2019-01-28 10:47 飞行的蟒蛇 阅读(371) 评论(1) 推荐(0)

2019年1月23日

摘要: https://blog.csdn.net/wave_1102/article/details/41630469 阅读全文

posted @ 2019-01-23 18:08 飞行的蟒蛇 阅读(229) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页