摘要:##1 concat pd.concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False,keys=None, levels=None, names=None, verify_integrity=False) 参数说明 o
阅读全文
摘要:第16期的iBond·微课堂 兴业银行资金营运中心外汇和衍生产品处负责人 叶予璋 老师 为大家提供了干货满满的金融衍生品交易策略及案例分析。许多小伙伴听后都希望我们能整理出一个音频和文字版的干货,现在终于来啦! http://www.managershare.com/post/271993 音频分段
阅读全文
摘要:https://www.cnblogs.com/onemorepoint/p/8425300.html https://blog.csdn.net/mingkoukou/article/details/82870960 https://pandas.pydata.org/pandas-docs/st
阅读全文
摘要:import numpy as np ##数组 array的创建 |功能|输入|输出| | | | | |创建一维数组|np.array([1,2,3],dtype=float)|array([1., 2., 3.])| |创建二维数组|np.array([[1,2,3],[3,5,1]],dtyp
阅读全文
摘要:##Matplotlib绘图 user guide: https://matplotlib.org/users/index.html 官方教程:https://www.matplotlib.org.cn/tutorials/ 其它教程:https://www.runoob.com/w3cnote/m
阅读全文
摘要:方法一:将表中的某一列按str/date读入 file_path = r'F:\Data Store\20089交易清单' file_name ='RB30A1-0900042.xls' df = pd.read_excel(file_path +'\\'+ file_name, dtype={'交
阅读全文
摘要:format在python2.6 之后引入,替代了原先的 %,显得更加优雅 format函数是一种格式化输出字符串的函数(str.format), 基本语法是通过 和 : 来代替以前的% 中可以填写后面元组中的下标 也可以填写后面的字段名 % 需要知道替换字符的类型,format则不需要 格式化字符
阅读全文
摘要:一、利用explorer.exe import os # 利用explorer.exe执行 start_directory = r'C:\代码\软件包' os.system("explorer.exe %s" % start_directory) 二、用os.startfile import os
阅读全文