会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
186
下一页
2024年1月28日
python 错误提示A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead解决方案
摘要: 目标想根据kaohao新增加一个变量,其值用来标记kaohao是否连续 解决方案: >>> df4=df3[["kaohao"]].copy()>>> df4['consecutive'] = (df4['kaohao']!= df4['kaohao'].shift(+1)).cumsum()
阅读全文
posted @ 2024-01-28 06:28 myrj
阅读(501)
评论(0)
推荐(0)
2024年1月27日
python 报错AttributeError: 'Worksheet' object has no attribute 'set_default_row' 解决
摘要: worksheet1.set_default_row(72)AttributeError: 'Worksheet' object has no attribute 'set_default_row' 报错解决: pip install xlsxwriter
阅读全文
posted @ 2024-01-27 16:20 myrj
阅读(261)
评论(0)
推荐(0)
pandas
摘要: pandas 实现 以A列值作为唯一值,将A列值相同的数据合并为一条数据,以分号分隔 df_merge = data2.groupby('唯一值').agg({'序号': ';'.join}
阅读全文
posted @ 2024-01-27 11:08 myrj
阅读(13)
评论(0)
推荐(0)
2024年1月26日
python pandas 每三行分一组
摘要: groupd=group.groupby(group.index //3) for name,group1 in groupd: print(1,group1)
阅读全文
posted @ 2024-01-26 06:30 myrj
阅读(26)
评论(0)
推荐(0)
2024年1月23日
WINRAR批量压缩多个文件分别单独形成对应的压缩文件
摘要: WINRAR批量压缩多个文件分别单独形成对应的压缩文件1.选中需要压缩的全部文件,右击“添加到压缩文件”2.“文件”选项卡中,选择“把每个文件放到单独的压缩文件中”3.单击确定即可
阅读全文
posted @ 2024-01-23 17:41 myrj
阅读(932)
评论(0)
推荐(0)
access数据库
摘要: 外键·外键就是来自其它表的主键,用于联系表与表。
阅读全文
posted @ 2024-01-23 10:41 myrj
阅读(16)
评论(0)
推荐(0)
2024年1月19日
inspect.exe 进程查看器工具对GUI界面元素进行定位
摘要: 对 Windows GUI进行自动化控制需要使用进程查看器工具对GUI界面元素进行定位,定位工具有很多,这里推荐使用微软提供的inspect.exe 或者 Accessibility Insights 这两款工具。 inspect.exe inspect.exe 是 Windows SDK 自带的一
阅读全文
posted @ 2024-01-19 19:08 myrj
阅读(3546)
评论(0)
推荐(0)
2024年1月14日
微信:别人加 自己好友不用验证直接通过
摘要: 别人加 自己好友不用验证直接通过:1.设置--朋友权限--取消“加我为朋友时需要验证”
阅读全文
posted @ 2024-01-14 16:16 myrj
阅读(358)
评论(0)
推荐(0)
pandas典型应用
摘要: #header默认为0,即以第一列为列名,这里设为None,意味不设置第一行为列名; df11 = pd.read_table(url,header =None) df11.head() #names =***,可以自定义设置列名 user_cols = ['id','quantity','name
阅读全文
posted @ 2024-01-14 10:05 myrj
阅读(35)
评论(0)
推荐(0)
hadoop 浏览器访问地址
摘要: http://127.0.01:9870/dfshealth.html#tab-overview
阅读全文
posted @ 2024-01-14 07:24 myrj
阅读(64)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
186
下一页
公告