上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: #!/usr/bin/env python import tensorflow as tf import numpy as np import matplotlib.pyplot as plt # Import MNIST data from tensorflow.examples.tutorial 阅读全文
posted @ 2020-06-26 15:30 rongye 阅读(141) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import baostock as bs import pandas as pd import time import os def download_factor(start_date,end_date,stock_df): rs_list = [] 阅读全文
posted @ 2020-06-01 21:58 rongye 阅读(410) 评论(0) 推荐(0) 编辑
摘要: import os import re import pathlib from struct import * import pandas as pd import numpy as np pathdir = "G:" files = np.array(os.listdir(pathdir)) #f 阅读全文
posted @ 2020-06-01 10:57 rongye 阅读(164) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python from struct import * import pandas as pd import numpy as np import os import re import pathlib def get_new_data(): #pathdir = "G 阅读全文
posted @ 2020-05-31 13:54 rongye 阅读(261) 评论(0) 推荐(0) 编辑
摘要: import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; import pandas as pd import chardet file 阅读全文
posted @ 2020-05-30 10:20 rongye 阅读(157) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import os import numpy as np import py7zr import shutil import pandas as pd import time #处理7Z分笔数据 path = r'G:\datas of status\ti 阅读全文
posted @ 2020-05-10 08:58 rongye 阅读(953) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import baostock as bs import pandas as pd #### 登陆系统 #### lg = bs.login(user_id="anonymous", password="123456") # 显示登陆返回信息 print( 阅读全文
posted @ 2020-04-20 20:42 rongye 阅读(901) 评论(0) 推荐(0) 编辑
摘要: import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; import pandas as pd file_name = "2222.t 阅读全文
posted @ 2020-03-13 23:47 rongye 阅读(482) 评论(0) 推荐(0) 编辑
摘要: import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; response = urllib.request.urlopen('file 阅读全文
posted @ 2020-03-12 00:00 rongye 阅读(134) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env pythonfrom struct import *import osimport sysdef exactStock(fileName, code): ofile = open(fileName, 'rb') buf = ofile.read() ofile.clos 阅读全文
posted @ 2020-02-16 19:33 rongye 阅读(1215) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页