上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 186 下一页
摘要: import numpy as np a=np.array([1,2,3,4]) b=np.array([5,6,7,8]) #相应项相乘再相加 print(np.inner(a,b)) #a的每一项乘以b的每一项组成新的矩阵 print(np.outer(a,b)) 阅读全文
posted @ 2024-08-08 20:19 myrj 阅读(12) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- # This code shows an example of text translation from English to Simplified-Chinese. # This code runs on Python 2.7.x and Pyth 阅读全文
posted @ 2024-08-06 10:26 myrj 阅读(33) 评论(0) 推荐(0)
摘要: import os file_path1 = '/path/to/file.txt' print("【执行】os.path.splitext(file_path1)") print(os.path.splitext(file_path1)) file_path2 = '/path/to/image. 阅读全文
posted @ 2024-07-24 08:48 myrj 阅读(28) 评论(0) 推荐(0)
摘要: 报错: raise IllegalCharacterError(f"{value} cannot be used in worksheets.")openpyxl.utils.exceptions.IllegalCharacterError: 图尔荪托合提麦合苏提 cannot be used i 阅读全文
posted @ 2024-07-20 19:34 myrj 阅读(1082) 评论(0) 推荐(0)
摘要: 1.windows安装jupyterpip install jupyter2.运行cmd,切换到.ipynb文件所在的文件夹3.CMD,运行命令jupyter notebook4.如果电脑中安装了两个版本的python,分别是python37 python311,则需要根据path中的路径判断利用哪 阅读全文
posted @ 2024-07-12 08:30 myrj 阅读(292) 评论(0) 推荐(0)
摘要: 向日葵远程控制软件_远程控制电脑手机_远程桌面连接_远程办公|游戏|运维-贝锐向日葵官网 (oray.com) 向日葵远程控制软件_远程控制电脑手机_远程桌面连接_远程办公|游戏|运维-贝锐向日葵官网 (oray.com) 阅读全文
posted @ 2024-06-21 08:21 myrj 阅读(258) 评论(0) 推荐(0)
摘要: 在线性插值过程中出现负数可能有几种原因: 数据不适合线性插值:线性插值是基于线性关系进行估算的方法。如果数据在插值区间内存在非线性或不光滑的变化,线性插值可能无法准确地反映数据的真实趋势,从而导致插值结果出现负数。 插值区间外的外推:线性插值是通过已知数据点之间的线性关系来估算未知位置上的值。如果进 阅读全文
posted @ 2024-06-05 11:01 myrj 阅读(840) 评论(0) 推荐(0)
摘要: import re # 导入正则表达式处理模块 def get_phone(text): ''' 使用正则表达式提取文本中的手机号 :param text: 原始文本 :return: 手机号数组 ''' phones = re.findall(r'(13\d{9}|14[5|7]\d{8}|15\ 阅读全文
posted @ 2024-06-03 08:58 myrj 阅读(246) 评论(0) 推荐(0)
摘要: 1正在走的路是林纬四路,继续走,前方是先是青年大道,再继续是林经二路(左近右远) 2.前方道口横向路是林邑路 3.左转是石成路,再继续走是坪田大道 3.右转是金田大道,再继续是洞湾路(上近下远) 阅读全文
posted @ 2024-05-31 10:44 myrj 阅读(11) 评论(0) 推荐(0)
摘要: 1.查询不姓张也不姓王的客观题和主观题都大于80的所有行2.查询赵钱孙李姓外的所有学生的客观题得分及姓名3.查询所有姓名为两个字的所有学生的姓名及成绩4.查询所有客观题和主观题平均分大于60的所有学生的姓名 考号 客观题 主观题得分5.查询所有姓张并且姓名由三个字组成的所有学生的姓名及成绩 sele 阅读全文
posted @ 2024-05-31 07:42 myrj 阅读(38) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 186 下一页