摘要: 一. NAND 是一种电压元件,因此它是以不同的电压范围来代表不同的数据。NAND根据不同品质划分等级,依次为正片、白片、黑片 正片:NAND原厂颗粒及原厂封装,或品牌方购买原厂颗粒后自己封装。 白片:原厂或品牌方封好的正片中,仍会有部分再次检测有瑕疵的颗粒。 黑片:在原料筛选的初级阶段便被定为有问 阅读全文
posted @ 2024-03-24 15:14 徐俊112 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sort_values()函数 import pandas as pd data = { '名称': ['太阳能', '床', '风扇', '沙发'], '单价': [2000, 3500, 500, 3500], '数量': [58, 23, 69, 60] } df = pd.DataFrame 阅读全文
posted @ 2024-03-11 16:53 徐俊112 阅读(7) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd data = { '名称': ['太阳能', '床', '风扇'], '单价': [2000, 3500, 500], '数量': [58, 23, 69], '公司名称': '超市' } df = pd.DataFrame(data) df = df.ren 阅读全文
posted @ 2024-03-11 13:48 徐俊112 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd # pd.set_option('display.unicode.east_asian_width', True) # 规整格式 # df = pd.read_excel(r'C:\Users\hui\Desktop\统计结果(1).xlsx') # new_ 阅读全文
posted @ 2024-03-10 21:25 徐俊112 阅读(5) 评论(0) 推荐(0) 编辑
摘要: matched_rows =df[~df['设备IMEI'].isin(b_df['设备IMEI'])] 这段代码的作用是从DataFrame df 中筛选出不在另一个DataFrame b_df 的"设备IMEI"列中的值。 df['设备IMEI'] 表示在DataFrame df 中获取"设备I 阅读全文
posted @ 2024-02-01 17:02 徐俊112 阅读(19) 评论(0) 推荐(0) 编辑
摘要: # df = pd.read_excel(r"D:\PyCharm\年度数据处理\1月设备离线01.xlsx", sheet_name='Sheet1') # 将日期列转换成 pandas 的 datetime 类型 # df['解除时间'] = pd.to_datetime(df['解除时间']) 阅读全文
posted @ 2024-02-01 16:40 徐俊112 阅读(20) 评论(0) 推荐(0) 编辑
摘要: # df = pd.read_excel(r"D:\PyCharm\年度数据处理\1月设备离线01.xlsx", sheet_name='Sheet2') # value_counts = df['解除时间'].value_counts().reset_index() # print(value_c 阅读全文
posted @ 2024-02-01 16:34 徐俊112 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import requests import pandas as pd from 公用.业务.login import LogIn mytoken = LogIn().take_login() headers = { 'Content-type': 'application/json', 'Acce 阅读全文
posted @ 2024-02-01 16:21 徐俊112 阅读(1) 评论(0) 推荐(0) 编辑
摘要: !!!!!!!亲测有效 1.点击“数据库管理” 2.输入数据库密码,点击登录 3.找到zentao . 4.点击 “选择zt_user” 5.点击 “选择数据” 6.点击“编辑” 7.将password 改为 e10adc3949ba59abbe56e057f20f883e ,即对应的登录密码被修改 阅读全文
posted @ 2023-12-01 10:55 徐俊112 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 出现 "At least one sheet must be visible" 错误通常是因为你在创建 Excel 文件时,没有指定任何一个 sheet 为可见。这个错误通常发生在使用 openpyxl 引擎时。 要解决这个问题,你可以在创建 ExcelWriter 对象时,将参数 engine 设 阅读全文
posted @ 2023-11-13 10:05 徐俊112 阅读(1436) 评论(0) 推荐(0) 编辑