- 博客(5)
- 收藏
- 关注
原创 Hive 启动报错java.net.URISyntaxException: Relative path in absolute URI 解决方法
linux安装hive。
2022-11-08 00:11:23
1493
1
原创 AttributeError: module ‘matplotlib‘ has no attribute ‘interactive‘
import cvxopt 时安装conda install -c conda-forge cvxopt成功之后如果不行,需要卸载numpy 重新安装numpy之后会发现%matplotlib inlineimport matplotlib.pyplot as pltWhen using %matplotlib inline in Jupyter notebook I’m getting error:AttributeError: module ‘matplotlib’ has no at
2021-04-16 22:49:40
828
1
原创 C语言 复数计算
项目场景:C语言 复数计算官方链接https://docs.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support?view=msvc-160描述:C 语言 complex 运算:_FCbuild()_Cbuildvoid calc_vals(int i) { /* Maximum number of iterations*/ const int maxIter = 100; /* Valu
2021-03-21 23:18:40
387
原创 2021-01-17
‘numpy.ndarray’ object has no attribute ‘append’def rank_generator(gen): target=[] inputs_=np.array([1, 2, 3,4,5,6]) for inputs, targets in gen: target.append(targets) inputs_=np.vstack((inputs_, inputs[0])) #print("---
2021-01-17 09:51:12
189
原创 转Python记录
行文规范*python 中注释用#,不用//1·不需要提前声明变量类型2·空白有意义,不过没看到在哪里有意义,等下找找3·if xxxx: 这个冒号有意思 >_>4·字符串8数字,等于多次重复的字符串5·取幂 a**b6· print(5 / 2)print(6 / 2)2.53.0 print(5 // 2) print(6 // 2)//运算符给我们一个向下舍入到下一个整数的结果。23内置函数min和max分别返回其参数的最小值和最大值
2020-08-19 11:42:14
206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅