摘要:
#!/usr/bin/env python import tensorflow as tf import numpy as np import matplotlib.pyplot as plt # Import MNIST data from tensorflow.examples.tutorial 阅读全文
摘要:
#!/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 = [] 阅读全文
摘要:
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 阅读全文
摘要:
#!/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 阅读全文
摘要:
import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; import pandas as pd import chardet file 阅读全文
摘要:
#!/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 阅读全文
摘要:
#!/usr/bin/env python import baostock as bs import pandas as pd #### 登陆系统 #### lg = bs.login(user_id="anonymous", password="123456") # 显示登陆返回信息 print( 阅读全文
摘要:
import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; import pandas as pd file_name = "2222.t 阅读全文
摘要:
import urllib.request; from pandas import DataFrame; from pandas import Series; from bs4 import BeautifulSoup; response = urllib.request.urlopen('file 阅读全文
摘要:
#!/usr/bin/env pythonfrom struct import *import osimport sysdef exactStock(fileName, code): ofile = open(fileName, 'rb') buf = ofile.read() ofile.clos 阅读全文