02 2022 档案
摘要:df.insert(0, 'New_ID', range(880, 880 + len(df)))
阅读全文
摘要:df[['c', 'd']] = df.apply(lambda x: func_main(x['a'], x['b']), axis=1, result_type='expand')
阅读全文
摘要:# -*- coding: utf-8 -*- # @Time : 2022/2/17 下午6:26 # @Author : lhh # @File : run.pyimport loggingimport osimport timelogger = logging.getLogger(__name
阅读全文
摘要:import sys,os sys.path.append(os.getcwd())
阅读全文
摘要:指定运行环境 import os os.environ["CUDA_VISIBLE_DEVICES"] = "2"
阅读全文
摘要:df = pd.read_csv(file_name ,converters={col_name: str})
阅读全文