- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 【数据可视化】Stackplot
Matplotlib.pyplot.stackplot() in PythonExample #1: Using StackplotThe code describes the x-axis as number of days from Monday to Friday while Y-axis is represented by No of Study and playing time is represented by red and cyan color respectively.
2022-11-30 10:40:49 244 2
原创 【Wang.hx】文件路径操作
os.path.splitext(“文件路径”) 分离文件名与扩展名;默认返回(fname,fextension)元组,可做分片操,切片操作中方便找到以一些特殊的后缀的文件夹。example:import ospath_01='D:/User/wgy/workplace/data/notMNIST_large.tar.gar'path_02='D:/User/wgy/workp...
2019-09-12 10:01:00 141
原创 数据整理
寻找以及统计一些字符串########################## Test 1 ##########################name = 'a中国12' #定义一个字符串print(name.capitalize())#把字符串首字母大写# A中国12print(name.center(50,'*'))#把字符串居中的# ***************...
2019-09-12 08:44:48 106
原创 【雷丁学姐】借助大数据进行学生的学校申请预测
准备工作:1.“雷丁学姐”给我的,10年收集的学生申请数据,以Excel的数据作为整理。2.Pytho 3.6本人使用Anaconda (数据包比较全)基本实现方法:学生数据解析,因为“雷丁学姐”在整理学生的资料过程中,学生的相关信息过于复杂有很多的维度,需要提取主要的信息,学生的维度有,1)大学在国内的排名,2)大学是否是985,3)或者211,4)学生的支付信用,5)学生的实习...
2019-09-09 21:44:55 217
原创 array升维
问题描述:array升维 eg:(128,128,4)加一层(128,128,1) 变成 (128,128,5)I have an array A that has shape (480, 640, 3), and an array B with shape (480, 640).How can I append these two as one array with shape (480...
2018-08-04 18:23:08 656
原创 EMA(Exponential Moving Average)是指数平均数指标
EMA(Exponential Moving Average)是指数平均数指标def EMA(df_close, N): weight = [] for i in range(N): weight_i = 2 / (N + 1) * (N - i) / N weight.append(weight_i) # print(weig...
2018-07-21 20:07:59 2087
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人