02 2022 档案

摘要:df.insert(0, 'New_ID', range(880, 880 + len(df))) 阅读全文
posted @ 2022-02-25 10:19 hifalee 阅读(743) 评论(0) 推荐(0) 编辑
摘要:df[['c', 'd']] = df.apply(lambda x: func_main(x['a'], x['b']), axis=1, result_type='expand') 阅读全文
posted @ 2022-02-24 18:20 hifalee 阅读(69) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- # @Time : 2022/2/17 下午6:26 # @Author : lhh # @File : run.pyimport loggingimport osimport timelogger = logging.getLogger(__name 阅读全文
posted @ 2022-02-24 16:16 hifalee 阅读(39) 评论(0) 推荐(0) 编辑
摘要:import sys,os sys.path.append(os.getcwd()) 阅读全文
posted @ 2022-02-18 17:03 hifalee 阅读(7) 评论(0) 推荐(0) 编辑
摘要:指定运行环境 import os os.environ["CUDA_VISIBLE_DEVICES"] = "2" 阅读全文
posted @ 2022-02-09 17:42 hifalee 阅读(29) 评论(0) 推荐(0) 编辑
摘要:df = pd.read_csv(file_name ,converters={col_name: str}) 阅读全文
posted @ 2022-02-08 10:47 hifalee 阅读(306) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示