会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
185
下一页
2023年9月28日
stata学习
摘要: 学习stata
阅读全文
posted @ 2023-09-28 08:04 myrj
阅读(15)
评论(0)
推荐(0)
2023年9月27日
python 字典转化为dataframe
摘要: import pandas as pd #生成一些数据 data = {'A': [1, 2, 3],'B': [4, 5, 6]} df = pd. DataFrame (data) #将字典转化为dataframe格式 print(df) # 打印dataframe #进行一些操作 df['A'
阅读全文
posted @ 2023-09-27 16:30 myrj
阅读(268)
评论(0)
推荐(0)
python numpy 计算1-10000 平方 立方 执行效率
摘要: import sys from datetime import datetime import numpy as np import matplotlib.pyplot as plt #使用NumPy计算 def numpysum(n) : a = np.arange(n)**2 b = np.ar
阅读全文
posted @ 2023-09-27 15:38 myrj
阅读(52)
评论(0)
推荐(0)
python numpy 数组操作
摘要:
阅读全文
posted @ 2023-09-27 15:05 myrj
阅读(8)
评论(0)
推荐(0)
python numpy所有的数据类型 查看 np.sctypeDict
摘要: >>> np.sctypeDict {'?': <class 'numpy.bool_'>, 0: <class 'numpy.bool_'>, 'byte': <class 'numpy.int8'>, 'b': <class 'numpy.int8'>, 1: <class 'numpy.int
阅读全文
posted @ 2023-09-27 11:07 myrj
阅读(94)
评论(0)
推荐(0)
python numpy应用
摘要: import numpy as np arr=np.arange(0,10,1) arr1=np.arange(0,1,0.1) array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) array([0. , 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7,
阅读全文
posted @ 2023-09-27 10:15 myrj
阅读(12)
评论(0)
推荐(0)
python range中的步长必须是整数 numpy则可以是小数
摘要: >>> for ii in range(1,10,0.1): print(ii) Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> for ii in range(1,10,0.1):TypeErro
阅读全文
posted @ 2023-09-27 10:11 myrj
阅读(99)
评论(0)
推荐(0)
2023年9月26日
python准确理解__main__=='__main__'作用
摘要:
阅读全文
posted @ 2023-09-26 06:11 myrj
阅读(24)
评论(0)
推荐(0)
python使用conda安装第三方库
摘要:
阅读全文
posted @ 2023-09-26 06:05 myrj
阅读(67)
评论(0)
推荐(0)
2023年9月20日
EXCEL 全角转半角
摘要: excel 全角数字转半角:利用函数asc() 删除空白行列宏实现 Sub 检查所有工作表删除空白行列() For icount = 1 To Sheets.Count maxrow = Sheets(icount).UsedRange.Rows.Count maxcol = Sheets(icou
阅读全文
posted @ 2023-09-20 20:33 myrj
阅读(167)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
185
下一页
公告