08 2022 档案
摘要:1. 软件安装 openpyxl、xlrd ( openpyxl 和 xlrd 是在 Python 中读取和写入 Excel 文件(.xlsx、.xls)的库 ) pip install xlrd pip install openpyxl 2. 使用 pandas.read_excel () 函数
阅读全文
摘要:1. 按常规方法打开 jupyter-notebook 2. new 时选择terminal 3. 输入自定义路径 4. 完成
阅读全文
摘要:1. 有已经安装好的 anaconda ,已经安装好的pytorch; 2. 打开 anaconda prompt如下图: 3. 激活pytorch (base) C:\Users\XXXXX>activate pytorch 4. 安装需要安装的工具 如安装pandas pip install p
阅读全文
摘要:1. const char*(C风格字符串)与 string 之间转换: (1) const char* 可以直接对string类型赋值,例如: const char* pchar = "abcdefg"; stringstr = pchar; (2) string通过 c_str() 函数转换为C
阅读全文