- 博客(5)
- 收藏
- 关注
原创 (已解决)安装apex——报错:AttributeError: module ‘torch.distributed‘ has no attribute ‘_all_gather_base‘
(已解决)安装apex——报错:AttributeError: module 'torch.distributed' has no attribute '_all_gather_base'
2023-09-25 17:40:04
1499
4
原创 CommandNotFoundError: Your shell has not been properly configured to use ‘conda deactivate‘. To init
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run
2023-01-17 21:09:41
626
原创 利用pandas对dataframe数据进行检索——loc()和iloc()
首先,读取某个excel表import pandas as pdimport numpy as npfrom pandas import DataFrameimport ospath = r'C:\Users\22698\Desktop\rjj.xlsx'data=pd.read_excel(path) #此时所导入的数据类型是dataframe类型一、使用步骤1.loc()loc()通过索引中的具体值来进行取数据代码如下(示例):data.loc[:,['IP','label'
2022-05-18 09:28:11
1094
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人