diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index eaaff8e..7cc5d79 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,12 +13,12 @@ "state": { "type": "markdown", "state": { - "file": "_posts/engineering/2024-08-13-conda环境库信息导出与复原.md", + "file": "_posts/coding/2024-08-13-数据结构知识池.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "2024-08-13-conda环境库信息导出与复原" + "title": "2024-08-13-数据结构知识池" } } ] @@ -52,7 +52,7 @@ "state": { "type": "search", "state": { - "query": "conda", + "query": "字符串", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -198,6 +198,8 @@ }, "active": "1e2086f0928a3cb6", "lastOpenFiles": [ + "_posts/pool/2024-11-01.md", + "_posts/engineering/2024-08-13-conda环境库信息导出与复原.md", "_posts/pool/2024-10-25.md", "_posts/pool/2024-10-16-as-rag模块拓展思考.md", "_posts/pool/2024-09-05-日记.md", @@ -223,8 +225,6 @@ "_posts/engineering/2024-09-13-linux安装全局可用的conda+创建有root权限的新账号.md", "_posts/engineering/2024-09-10-linux(wget)国内批量下载huggingface模型shell脚本.md", "_posts/engineering/2024-09-09-linux新机器安装nvidia驱动.md", - "_posts/engineering/2024-09-06-windows无cpu启动stable-diffusion API接口.md", - "_posts/engineering/2024-09-05-免费且私密的联网搜索组件duckduckgo.md", "assets/img/mrj9tyfxgpwc4ohkdhkq3uu3azxww8g.png", "assets/img/Dingtalk_20240906094335.jpg", "assets/img/Dingtalk_20240906103403.jpg", diff --git "a/_posts/coding/2024-08-13-\346\225\260\346\215\256\347\273\223\346\236\204\347\237\245\350\257\206\346\261\240.md" "b/_posts/coding/2024-08-13-\346\225\260\346\215\256\347\273\223\346\236\204\347\237\245\350\257\206\346\261\240.md" index 0d1050e..57888a4 100644 --- "a/_posts/coding/2024-08-13-\346\225\260\346\215\256\347\273\223\346\236\204\347\237\245\350\257\206\346\261\240.md" +++ "b/_posts/coding/2024-08-13-\346\225\260\346\215\256\347\273\223\346\236\204\347\237\245\350\257\206\346\261\240.md" @@ -63,3 +63,8 @@ df['col1'] = df['col1'].round(3) ``` 这将更新 `df` 中的 `'col1'` 列,使其所有数值都四舍五入到小数点后三位。 + +# 字符串处理 + +`.capitalize()`使首字母大写,其余全部小写 +`.isdigit()`检查是否全部为数字(小数不可检查,因为是字符级) \ No newline at end of file diff --git a/_posts/pool/2024-11-01.md b/_posts/pool/2024-11-01.md new file mode 100644 index 0000000..94e7ea9 --- /dev/null +++ b/_posts/pool/2024-11-01.md @@ -0,0 +1,7 @@ +--- +title: +author: X +date: "2024-11-01 14:31:07 +0800" +categories: +tags: +---