2024年5月19日

摘要: http://www.mj141319.imotor.com/viewthread.php?tid=2706&extra=page%3D1 阅读全文
posted @ 2024-05-19 23:35 张博的博客 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 因网络中断或其他原因,有时候服务器上留下较多无用的vscode-server进程,占用内存资源 可以采用如下命令kill进程 ps uxa | grep .vscode-server | awk '{print $2}' | xargs kill -9 阅读全文
posted @ 2024-05-19 22:28 张博的博客 阅读(141) 评论(0) 推荐(0) 编辑
摘要: import pandas as pd s = pd.Series(['dsafasdf','3333333333333', '23423', 'sdafasdfasdf']) def yasuo(x): return ['...' for i in x] aaaa=pd.DataFrame([[' 阅读全文
posted @ 2024-05-19 20:16 张博的博客 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 也就是算出绝对路径传进去. import os wenjian='/'.join(os.path.abspath(__file__).split('/')[:-2])+'/' with open(wenjian+"meddata.json", "r") as f: med_data=json.loa 阅读全文
posted @ 2024-05-19 07:53 张博的博客 阅读(3) 评论(0) 推荐(0) 编辑

导航